assets.adobedtm.com Open in urlscan Pro
2a02:26f0:480:287::1e80  Public Scan

URL: http://assets.adobedtm.com/e157c7ff34e2d6bd3c151937f4c67f693db0150f/satelliteLib-c1031098c10bfbe330181ddd96ac8850d00f040d.js
Submission: On October 13 via api from EG — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

// For license information, see `https://assets.adobedtm.com/63653349b887/188397411560/launch-0a1cdbd476c4.js`.
window._satellite=window._satellite||{},window._satellite.container={buildInfo:{minified:!0,buildDate:"2022-10-07T06:59:27Z",turbineBuildDate:"2022-09-28T18:15:16Z",turbineVersion:"27.4.0"},environment:{id:"ENdde3779f45c14e56ba2ac47b23675b2a",stage:"production"},dataElements:{transactionID:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.transactionID"}},affiliateID:{defaultValue:"",storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.attributes.affiliateID"}},cs_direct_paid:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e){for(var t=["scp-3","chgmnthcsnftcad","1041","chgmnthcsnftuk","chgmnthcsnftsg","scp-5","scp-1","scp-11","scp-21","scp-23","cramster monthly","cramster annual","scp-19","scp-13","chgmnthcs7dft","chgmnthcs14dft","chgmnthcsv2nft","chgmnthcsnftaud","chgmnthcsnftcad","chgmnthcsnftmxn","chgmnthcsnfttry"],o=t.length,a=0;a<o;a++)if(t[a]===e)return!0;return!1}for(var t=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",o=""!==t?t.length:"",a=0;a<o;a++)if(e(t[a].productInfo.productID.toLowerCase()))return!0;return!1}}},isAdobeOptOut:{defaultValue:"",storageDuration:"visitor",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.getVar("oneTrustCookie");return!(!_satellite.getVar("oneTrustEnable")||e.indexOf(",prf")>=0)}}},trimmedPageDetail:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.pageNameDetailed"}},cheggExperiments:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/cookie.js",settings:{name:"exp"}},oneTrustEnable:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=window.document.domain;return e.indexOf("chegg.com")>1||e.indexOf("bibme.org")>1||e.indexOf("easybib.com")>1||e.indexOf("citationmachine.net")>1}}},jsTimestamp:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return Math.floor(Date.now()/1e3)}}},ebookMonthly:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if("ebook_monthly"==e[o].productInfo.productFormat.toLowerCase())return!0;return!1}}},oneTrustTargetingCookie:{defaultValue:"",storageDuration:"visitor",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.getVar("oneTrustCookie");return!_satellite.getVar("oneTrustEnable")||e.indexOf(",trg")>=0||e.indexOf(",4")>=0}}},server:{defaultValue:"",forceLowerCase:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.location.hostname"}},csp_cs_checkout:{storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.pageInfo.pageName"}},paymentMethod:{defaultValue:"",storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.attributes.paymentMethod"}},uvn:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;if(e&&e.user&&e.user.profile&&e.user.profile.profileInfo&&e.user.profile.profileInfo.attributes&&e.user.profile.profileInfo.attributes.uvn)return e.user.profile.profileInfo.attributes.uvn}}}},"orderCatalogIDs ":{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=[],a=0;a<t;a++)o.push(e[a].productInfo.productID);return JSON.stringify(o)}}},subscriptionPeriod:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"user.profile.profileInfo.segment.cheggStudy.subscriptionPeriod"}},subCategory4:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.page&&void 0!==digitalData.page.category&&void 0!==digitalData.page.category.primaryCategory&&void 0!==digitalData.page.category.subCategory1){var e=digitalData.page.category.primaryCategory+"|"+digitalData.page.category.subCategory1;return void 0!==digitalData.page.category.subCategory2&&null!==digitalData.page.category.subCategory2&&digitalData.page.category.subCategory2.length>0&&(e+="|"+digitalData.page.category.subCategory2,void 0!==digitalData.page.category.subCategory3&&null!==digitalData.page.category.subCategory3&&digitalData.page.category.subCategory3.length>0&&(e+="|"+digitalData.page.category.subCategory3,void 0!==digitalData.page.category.subCategory4&&digitalData.page.category.subCategory4.length>0&&(e+="|"+digitalData.page.category.subCategory4))),e}}}},testPrepUserType:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e="",t="testpUserType";if("undefined"!=typeof digitalData&&void 0!==digitalData.user&&void 0!==digitalData.user.testPrepUserType){e=digitalData.user.testPrepUserType;var o=document.location.hostname.split(".").slice(-2).join(".");document.cookie=t+"="+e+"; expires=0; path=/; domain="+o}else e=void 0!==_satellite.cookie.get(t)?_satellite.cookie.get(t):"Unknown";return e}}},isStagingMode:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"stagingmode",caseInsensitive:!0}},eventProductString:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e="",t=_satellite.getVar("eventValue"),o=t.length,a=0;a<o;a++){var n=t[a],s=void 0===n.productInfo.stockStatus?"n/a":n.productInfo.stockStatus,i=void 0===n.productInfo.rentalTimeFrame?"n/a":n.productInfo.rentalTimeFrame,r=void 0===n.productInfo.productFormat?"n/a":n.productInfo.productFormat,c=void 0===n.quantity?"":n.quantity,d=void 0===n.price||void 0===n.price.basePrice?"":n.price.basePrice;void 0!==r&&null!=r&&(r=r.replace(/,/g,"^")),e=e+";"+("undefined"==typeof tpProduct?n.productInfo.productID:tpProduct)+";"+c+";"+d+";;eVar40="+s+"|eVar22="+i+"|eVar34="+r+"|eVar23=0,"}return e.slice(0,-1)}}},highestContentCourse:{defaultValue:"",storageDuration:"visitor",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return highestContent=_satellite.getVar("highestContentConfidence"),course_id=null!=highestContent?highestContent.course_uuid:"",course_id}}},cheggUserUUIDMC:{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/cookie.js",settings:{name:"_sdsat_cheggUserUUID"}},billingAgreementID:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&digitalData.event.length>0){for(var e=digitalData.event.length,t="",o=0;o<e;o++)t=digitalData.event[o].eventValue.billingAgreementID+","+t;var a=t.length-1;return t=t.substring(0,a)}}}},tbOrderISBN:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=[],a=0;a<t;a++)o.push(e[a].productInfo.productID.split("-")[e[a].productInfo.productID.split("-").length-1]);return o.join(",")}}},videoEvent:{storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=digitalData.event,t="",o="",a="";return"undefined"!=typeof digitalData&&void 0!==e&&e.length>0&&(t=e[e.length-1].eventValue.videoId||"",o=e[e.length-1].eventValue.videoName||"",a=e[e.length-1].eventValue.videoDuration||""),t+"|"+o+"|"+a}catch(e){_satellite.logger.error("Error in event"+e)}}}},orderCountry:{defaultValue:"",forceLowerCase:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.profile.shippingAddress.country"}},"Launch production build":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return""}}},orderDiscount:{defaultValue:"",storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.total.voucherDiscount"}},marketingPixelFlagTBOnly:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=_satellite.getVar("transactionID");if(_satellite.getVar("oneTrustTargetingCookie")&&e){var t=JSON.parse(sessionStorage.getItem("mPixelFlag"))?JSON.parse(sessionStorage.getItem("mPixelFlag")).rulesFired:[],o=function(e,t){for(i in e)if(t==e[i])return!0},a=function(e,t){if(addnew=!0,e.length>0){for(i in e)if(t==e[i]){addnew=!1;break}return addnew&&e.push(t),e}return e.push(t),e};if(1!=o(t,"TBO"+e))return cookie={rulesFired:a(t,"TBO"+e)},sessionStorage.setItem("mPixelFlag",JSON.stringify(cookie)),"true"}}catch(e){return console.log("Marketing pixel error - marketingPixelFired"+e),"true"}}}},tutorSubscriberEver:{defaultValue:"",storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"user.tutorsSubscriberEver"}},orderSellItems:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=[],a=0;a<t;a++)"physical rent"!=e[a].productInfo.productFormat.toLowerCase()&&o.push(e[a]);return o}}},eventID:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&digitalData.event.length>0){for(var e=digitalData.event.length,t="",o=0;o<e;o++)t=digitalData.event[o].eventID+","+t;var a=t.length-1;return t=t.substring(0,a)}}}},maxmindCountry:{defaultValue:"United States",storageDuration:"visitor",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;return e&&e.context&&e.context.geolocation&&e.context.geolocation.maxmindCountry?JSON.parse(e.context.geolocation.maxmindCountry).country_name:"United States"}}}},shippingPostalCode:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.profile.shippingAddress.postalCode"}},contentType:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=digitalData.page.pageInfo.attributes.contentType;return e||""}catch(e){_satellite.logger.log("DE - contentType exception ",e)}}}},tutorsSubject:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e="",t=digitalData.event;return"undefined"!=typeof digitalData&&void 0!==t&&t.length>0&&(e=t[t.length-1].eventValue.tutorsSubject||""),e}catch(e){_satellite.logger.log("Error in tutors subject dataelemnt"+e)}}}},topicContentTaxonomy:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=window.digitalData,t=[];if(void 0!==e&&void 0!==e.page&&void 0!==e.page.attributes&&void 0!==e.page.attributes.contentTaxonomy&&void 0!==e.page.attributes.contentTaxonomy.topic){var o=e.page.attributes.contentTaxonomy.topic.id,a=e.page.attributes.contentTaxonomy.topic.p;return o&&a&&"string"!=typeof o?o.slice(0,5).forEach((function(e,o){t.push(e+(a[o]?":"+a[o]:""))})):o&&"string"==typeof o&&t.push(o+(a?":"+a:"")),t.join(",")}}}},firstTrialEligibility:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.profile.profileInfo.attributes.tutorStatus.firstTrialEligibility.type"}},csQuestionsRemaining:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.profile.profileInfo.csQuestionsRemaining"}},shippingPaid:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.total.shippingPaid"}},oneTrustCookie:{defaultValue:"",storageDuration:"visitor",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"OnetrustActiveGroups"}},orderState:{defaultValue:"",forceLowerCase:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.profile.shippingAddress.stateProvince"}},orderSubTotal:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.total.subtotal"}},currency:{defaultValue:"USD",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if("USD"!==e[o].price.currency)return e[o].price.currency}}},rm_csp_trial:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e){for(var t=["chgstudypck1cu","chgstudypckft"],o=t.length,a=0;a<o;a++)if(t[a]===e)return!0;return!1}for(var t=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",o=""!==t?t.length:"",a=0;a<o;a++)if(e(t[a].productInfo.productID.toLowerCase()))return!0;return!1}}},cartID:{defaultValue:"",storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"cart.cartID"}},subDomain:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return!!window.location.host.split(".")[1]&&window.location.host.split(".")[0]}}},parentSubject:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.attributes.parentSubject"}},productString:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=function(e){return{2506:"CHGTestPrep1",2508:"CHGTestPrep10",2507:"CHGTestPrep11",2516:"CHGTestPrep12",2510:"CHGTestPrep2",2509:"CHGTestPrep3",2515:"CHGTestPrep4",2511:"CHGTestPrep5",2514:"CHGTestPrep6",2512:"CHGTestPrep7",2513:"CHGTestPrep8",2505:"CHGTestPrep9",1014:"CHGTestPrep1",1020:"CHGTestPrep10",1019:"CHGTestPrep11",1021:"CHGTestPrep12",1016:"CHGTestPrep2",1015:"CHGTestPrep3",1017:"CHGTestPrep4",1010:"CHGTestPrep5",1012:"CHGTestPrep6",1011:"CHGTestPrep7",1013:"CHGTestPrep8",1018:"CHGTestPrep9"}[e]},t="";if("undefined"!=typeof digitalData&&void 0!==digitalData.transaction&&"undefined"!==digitalData.transaction.item&&digitalData.transaction.item.length>0)var o=digitalData.transaction.item;else if("undefined"!=typeof digitalData&&void 0!==digitalData.cart)o=digitalData.cart.items;else{if("undefined"==typeof digitalData||void 0===digitalData.product)return;digitalData.product.length?o=digitalData.product:(o=[]).push(digitalData.product)}for(var a=o.length,n=0;n<a;n++){var s=o[n],i=e(s.productInfo.productID),r=void 0===s.productInfo.stockStatus?"n/a":s.productInfo.stockStatus,c=void 0===s.productInfo.rentalTimeFrame?"n/a":s.productInfo.rentalTimeFrame,d=void 0===s.productInfo.productFormat?"n/a":s.productInfo.productFormat,u=void 0===s.quantity?"":s.quantity,l=void 0===s.price||void 0===s.price.basePrice?"":s.price.basePrice;void 0!==d&&null!=d&&(d=d.replace(/,/g,"^")),t=t+";"+(void 0===i?s.productInfo.productID:i)+";"+u+";"+l+";;eVar40="+r+"|eVar22="+c+"|eVar34="+d+"|eVar23=0,"}return t.slice(0,-1)}}},orderItemCount:{defaultValue:"0",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.transaction.item.length"}},clickTaleOverride:{defaultValue:"",cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie"))return getQueryParamByName=function(e,t=window.location.href){e=e.replace(/[\[\]]/g,"\\$&");var o=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return o?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null},getQueryParamByName("ctQA")}}},bookmarkDetails:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e="",t="",o="",a=function(a){a.forEach((function(a){try{e=a.productName||"",t=a.requestID?a.requestID:a.entityID?a.entityID:"",o=a.totalBookmarks||0==a.totalBookmarks?a.totalBookmarks:""}catch(e){_satellite.logger.log("bookmark DE"+e)}}))};if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&digitalData.event.length>0){var n=digitalData.event,s=n.length-1,i="";void 0!==n[s].eventValue&&"string"!=typeof n[s].eventValue&&((i=n[s].eventValue).length>0?a(i):i&&(e=i.productName||"",t=i.requestID?i.requestID:i.entityID?i.entityID:"",o=i.totalBookmarks||0==i.totalBookmarks?i.totalBookmarks:""))}return e+"|"+t+"|"+o}catch(e){_satellite.logger.log("bookmark DE"+e)}}}},orderHasSellItems:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if("physical rent"!=e[o].productInfo.productFormat.toLowerCase())return!0;return!1}}},"trackID ":{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.attributes.onsiteSearch.trackID"}},onboardingstep:{defaultValue:"",storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.progress.step"}},transactionProduct:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e="";if("undefined"!=typeof digitalData&&void 0!==digitalData.transaction&&"undefined"!==digitalData.transaction.item&&digitalData.transaction.item.length>0)for(var t=digitalData.transaction.item,o=t.length,a=0;a<o;a++)e=e+t[a].productInfo.productID+";";return e.slice(0,-1)}catch(e){_satellite.logger.log("Error at dataelement transactionProduct"+e)}}}},reactivatedCount:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"user.profile.profileInfo.segment.cheggStudy.reactivatedCount"}},orderType:{defaultValue:"",forceLowerCase:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.attributes.orderType"}},aamTargetCookie:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/cookie.js",settings:{name:"aam_tnt"}},schoolID:{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(null!=_satellite.cookie.get("schoolapi"))return _satellite.cookie.get("schoolapi").split("|")[0]}}},cartView:{defaultValue:"",storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.checkoutPage"}},gclid:{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var o=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return o?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null}return e("gclid")}}},hasUserEverUsedFreeTutorsMinutes:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"user.profile.profileInfo.segment.hasUserEverUsedFreeTutorsMinutes"}},isTestPrepOrder:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return"undefined"!=typeof digitalData&&void 0!==digitalData.transaction&&void 0!==digitalData.transaction.item[0]&&void 0!==digitalData.transaction.item[0].productInfo&&void 0!==digitalData.transaction.item[0].productInfo.productID&&-1!==digitalData.transaction.item[0].productInfo.productID.toLowerCase().indexOf("test_prep")}}},tutorsOrder:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if("tutors trial"===e[o].productInfo.productFormat.toLowerCase())return!0;return!1}}},cs_csp_direct_paid:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return _satellite.getVar("cs_direct_paid")||_satellite.getVar("csp_direct_paid")}}},orderCity:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.profile.shippingAddress.city"}},highestContentConfidence:{defaultValue:"",storageDuration:"visitor",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){function o(e,o){var a=e[t],n=o[t];return a<n?-1:a>n?1:0}e.sort(o)}var t=[];return null!=digitalData&&null!=digitalData.page&&null!=digitalData.page.attributes&&null!=digitalData.page.attributes.content_classification?("undefined"!=(t=digitalData.page.attributes.content_classification)&&e(t,"confidence"),_satellite.cookie.set("_sdsat_highestContentConfidence",t.length>0?t[t.length-1]:""),t.length>0?t[t.length-1]:""):t}}},tutorsUUID:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;if(e&&e.user&&e.user.profile&&e.user.profile.profileInfo&&e.user.profile.profileInfo.attributes)return e.user.profile.profileInfo.attributes.tutorUUID}}}},subSubSubject:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.attributes.subSubSubject"}},mathOrder:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if("chegg math subscription"===e[o].productInfo.productFormat.toLowerCase()||"chgmnthmt7dft"===e[o].productInfo.productID.toLowerCase()||"chgmnthmt14dft"===e[o].productInfo.productID.toLowerCase())return!0;return!1}}},orderHasRentalItems:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if("physical rent"==e[o].productInfo.productFormat.toLowerCase())return!0;return!1}}},shippingMethod:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.total.shippingMethod"}},primaryCategory:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.category.primaryCategory"}},cheggUserUUID:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;return e&&e.user&&e.user.profile&&e.user.profile.profileInfo&&e.user.profile.profileInfo.attributes&&e.user.profile.profileInfo.attributes.cheggUserUUID?(_satellite.cookie.set("_sdsat_cheggUserUUID",e.user.profile.profileInfo.attributes.cheggUserUUID.match(/not\slogged\sin/gi)?"":e.user.profile.profileInfo.attributes.cheggUserUUID),e.user.profile.profileInfo.attributes.cheggUserUUID.match(/not\slogged\sin/gi)?"":e.user.profile.profileInfo.attributes.cheggUserUUID):""}}}},eventName:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&digitalData.event.length>0){for(var e=digitalData.event.length,t="",o=0;o<e;o++)t=digitalData.event[o].eventName+","+t;var a=t.length-1;return t=t.substring(0,a)}}}},productFormat:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.getVar("productString");return(e=e&&null!=e?e.match(/\|eVar34=[a-zA-Z0-9_\/\s]+\|/gi):"")?e.join("").replace(/eVar34=|\|/gi,""):""}}},orderHasPaidHWH:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if(e[o].price.basePrice>0&&("scp"===e[o].productInfo.productID.substring(0,3).toLowerCase()||"CHGStudyPckFT"===e[o].productInfo.productID||"CHGStudyPcknoFT"===e[o].productInfo.productID||"CHGMnthCSNFTUK"===e[o].productInfo.productID||"CHGMnthCSNFTSG"===e[o].productInfo.productID||"CHGMnthCSNFTAU"===e[o].productInfo.productID||"1040"===e[o].productInfo.productID||"1041"===e[o].productInfo.productID||"1042"===e[o].productInfo.productID||"bundle"===e[o].productInfo.productFormat))return!0;return!1}}},eventCallback:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(e){if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&0!==digitalData.event.length&&void 0!==(e=digitalData.event).callback)return e.callback}}},pageType:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{if("undefined"!=typeof digitalData&&void 0!==digitalData.page&&void 0!==digitalData.page.category&&void 0!==digitalData.page.category.pageType)return digitalData.page.category.pageType;if("undefined"!=typeof digitalData&&void 0!==digitalData.page&&void 0!==digitalData.page.pageInfo&&void 0!==digitalData.page.pageInfo.pageType)return digitalData.page.pageInfo.pageType}catch(e){_satellite.logger.log(e)}}}},orderRentalItems:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=[],a=0;a<t;a++)"physical rent"==e[a].productInfo.productFormat.toLowerCase()&&o.push(e[a]);return o}}},schoolConfidence:{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(null!=_satellite.cookie.get("schoolapi"))return _satellite.cookie.get("schoolapi").split("|")[1]}}},utmSource:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"UTM_SOURCE",caseInsensitive:!0}},adobeProperty:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return"new"}}},hasGREProduct:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:-1,o=0;o<t;o++){var a=e[o].productInfo.productID;if(1010==a||1011==a||1012==a||1013==a)return 1}return 0}}},mathwayPageNameDetailed:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return"undefined"!=typeof digitalData&&void 0!==digitalData.page&&void 0!==digitalData.page.pageInfo&&"undefined"!=digitalData.page.pageInfo.pageNameDetailed?digitalData.page.pageInfo.pageNameDetailed:""}}},couponCode:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.total.voucherCode"}},authState:{defaultValue:"Authentication Status Unknown",cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;if(e&&e.user&&e.user.profile&&e.user.profile.profileInfo&&e.user.profile.profileInfo.segment&&e.user.profile.profileInfo.segment.authStatus)return authStatus=e.user.profile.profileInfo.segment.authStatus,authStatus.match(/^(soft_logged_in|hard_logged_in|logged_out)$/gi)?(arr=authStatus.split("_"),arr.forEach((function(e,t){arr[t]=e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()})),_satellite.cookie.set("_sdsat_authState",arr.join(" ")),arr.join(" ")):(_satellite.cookie.set("_sdsat_authState",authStatus),authStatus)}}}},csQuestionObfuscated:{storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return!!(digitalData&&digitalData.page&&digitalData.page.blocked)}}},tbCartProductISBN:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.cart&&digitalData.cart.items?digitalData.cart.items:"",t=""!==e?e.length:"",o=[],a=0;a<t;a++)o.push(e[a].productInfo.productID.split("-")[e[a].productInfo.productID.split("-").length-1]);return o.join(",")}}},subCategory1:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.page&&void 0!==digitalData.page.category&&void 0!==digitalData.page.category.primaryCategory&&void 0!==digitalData.page.category.subCategory1)return digitalData.page.category.primaryCategory+"|"+digitalData.page.category.subCategory1}}},feedbackDetails:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=[],t=[],o=function(o){o.forEach((function(o){try{o.productName&&e.push(o.productName),o.entityID&&t.push(o.entityID)}catch(e){_satellite.logger.log("feedback DE"+e)}}))};if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&digitalData.event.length>0){var a=digitalData.event,n=a.length-1;void 0!==a[n].eventValue&&"string"!=typeof a[n].eventValue&&a[n].eventValue.length>0&&o(a[n].eventValue)}return e=e.toString(),t=t.toString(),e&&t?e+"|"+t:""}catch(e){_satellite.logger.log("feedback DE"+e)}}}},marketingPixelFlagTBCS:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=_satellite.getVar("transactionID");if(_satellite.getVar("oneTrustTargetingCookie")&&e){
var t=JSON.parse(sessionStorage.getItem("mPixelFlag"))?JSON.parse(sessionStorage.getItem("mPixelFlag")).rulesFired:[],o=function(e,t){for(i in e)if(t==e[i])return!0},a=function(e,t){if(addnew=!0,e.length>0){for(i in e)if(t==e[i]){addnew=!1;break}return addnew&&e.push(t),e}return e.push(t),e};if(1!=o(t,"TBCS"+e))return cookie={rulesFired:a(t,"TBCS"+e)},sessionStorage.setItem("mPixelFlag",JSON.stringify(cookie)),"true"}}catch(e){return _satellite.logger.log("Marketing pixel error - marketingPixelFired"+e),"true"}}}},geolocCountry:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;return e&&e.context&&e.context.geolocation?e.context.geolocation.Country:""}}}},rm_cs_trial:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e){for(var t=["scp-9","scp-1","scp-11","scp-21","scp-19","scp-13","chgmnthcs7dft","chgmnthcs14dft","chgmnthcsv2ft"],o=t.length,a=0;a<o;a++)if(t[a]===e)return!0;return!1}for(var t=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",o=""!==t?t.length:"",a=0;a<o;a++)if(e(t[a].productInfo.productID.toLowerCase()))return!0;return!1}}},contentsquare_uxa:{modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window._uxa"}},adobeCampaignBroadlogID:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"bid",caseInsensitive:!0}},subjectDetails:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=window.digitalData;if(void 0!==e&&void 0!==e.page&&void 0!==e.page.attributes&&void 0!==e.page.attributes.contentTaxonomy){var t=e.page.attributes.contentTaxonomy;return void 0!==t.subject||void 0!==t.classification||void 0!==t.topic?(void 0!==t.subject?t.subject:"")+"|"+(void 0!==t.classification?t.classification:"")+"|"+(void 0!==t.topic?t.topic:""):""}}}},mathwayUserID:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;return e&&e.user&&e.user.profile&&e.user.profile.profileInfo&&e.user.profile.profileInfo.attributes&&e.user.profile.profileInfo.attributes.registrationId?e.user.profile.profileInfo.attributes.registrationId:""}}}},tbCartProductPrice:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.cart&&digitalData.cart.items?digitalData.cart.items:"",t=""!==e?e.length:"",o=[],a=0;a<t;a++)o.push(e[a].price.basePrice);return o.join(",")}}},marketingPixelFlagCS:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=_satellite.getVar("transactionID");if(_satellite.getVar("oneTrustTargetingCookie")&&e){var t=JSON.parse(sessionStorage.getItem("mPixelFlag"))?JSON.parse(sessionStorage.getItem("mPixelFlag")).rulesFired:[],o=function(e,t){for(i in e)if(t==e[i])return!0},a=function(e,t){if(addnew=!0,e.length>0){for(i in e)if(t==e[i]){addnew=!1;break}return addnew&&e.push(t),e}return e.push(t),e};if(1!=o(t,"CS"+e))return cookie={rulesFired:a(t,"CS"+e)},sessionStorage.setItem("mPixelFlag",JSON.stringify(cookie)),"true"}}catch(e){return _satellite.logger.log("Marketing pixel error - marketingPixelFired"+e),"true"}}}},orderAFFCommissionPercentage:{defaultValue:"",cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=_satellite.cookie.get("TBFAffiliate[commission_percentage]");if(e)return e}}}},cheggStudyAccess:{defaultValue:"false",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.user&&void 0!==digitalData.user.profile&&void 0!==digitalData.user.profile.profileInfo&&"undefined"!==digitalData.user.profile.profileInfo.segment&&void 0!==digitalData.user.profile.profileInfo.segment.cheggStudy&&void 0!==digitalData.user.profile.profileInfo.segment.cheggStudy.hasAccess)return digitalData.user.profile.profileInfo.segment.cheggStudy.hasAccess.toString()}}},lastOrderKey:{defaultValue:"",cleanText:!0,storageDuration:"visitor",modulePath:"core/src/lib/dataElements/cookie.js",settings:{name:"lok"}},pageNameDetailed:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.page){var e=digitalData.page.pageInfo.pageName;if(void 0!==digitalData.page.category.primaryCategory&&""!=digitalData.page.category.primaryCategory){var t=digitalData.page.category.primaryCategory;void 0!==digitalData.page.category.subCategory1&&""!=digitalData.page.category.subCategory1&&(t=t+"|"+digitalData.page.category.subCategory1,void 0!==digitalData.page.category.subCategory2&&""!=digitalData.page.category.subCategory2&&(t=t+"|"+digitalData.page.category.subCategory2,void 0!==digitalData.page.category.subCategory3&&""!=digitalData.page.category.subCategory3&&null!=digitalData.page.category.subCategory3&&(t=t+"|"+digitalData.page.category.subCategory3,void 0!==digitalData.page.category.subCategory4&&""!=digitalData.page.category.subCategory4&&(t=t+"|"+digitalData.page.category.subCategory4)))),e=t+"|"+e;var o=digitalData.page.pageInfo.pageNameDetailed;if(null!=o&&void 0!==o&&o.length>0){if(o.length>13&&-1!==e.toLowerCase().indexOf("textbook pdp")){var a=o.lastIndexOf(" ");-1!==a&&(o=o.substring(a+1))}e+="|"+o.trim()}}return e}return""}}},randnum:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e={getCookie:function(e){return document.cookie.indexOf(e)>-1?document.cookie.split(e)[1].split("; ")[0].substr(1):""},toUTF8Array:function(e){for(var t=[],o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?t.push(a):a<2048?t.push(192|a>>6,128|63&a):a<55296||a>=57344?t.push(224|a>>12,128|a>>6&63,128|63&a):(o++,a=65536+((1023&a)<<10|1023&e.charCodeAt(o)),t.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|63&a))}return t},mod100ByCheggVisitorId:function(){try{var t=e.getCookie("CVID"),o=void 0!==t&&""!==t?e.toUTF8Array(t):"";return void 0!==o&&o.length>0?o.reduce(((e,t)=>e+t),0)%100:""}catch(e){return console.log("## Error in calculating mod100ByCheggVisitorId ## "+e),""}}};try{return e.mod100ByCheggVisitorId().toString()}catch(e){return console.log("## Error in creating mod100 ## "+e),""}}}},referrer:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"document.referrer"}},requestID:{cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e="";if("undefined"!=typeof digitalData&&void 0!==digitalData.page&&void 0!==digitalData.page.pageInfo&&void 0!==digitalData.page.pageInfo.requestID&&""!==digitalData.page.pageInfo.requestID&&void 0===digitalData.event)e=digitalData.page.pageInfo.requestID||"";else if("undefined"!=typeof digitalData&&void 0!==digitalData.event){var t=digitalData.event,o=t.length-1,a="";void 0!==t[o].eventValue&&(e=(a=t[o].eventValue).requestID?a.requestID:"")}return e}catch(e){_satellite.logger.log("Date Element Exc -> "+e)}}}},hardLoginUserUUID:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof CheggUserUuid&&"undefined"!=typeof C&&void 0!==C.global&&void 0!==C.global.userEmail&&-1===C.global.userEmail.indexOf("**"))return CheggUserUuid}}},perbs:{defaultValue:"-1",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.attributes.perbs"}},schoolApiData:{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e={getCookie:function(e){return document.cookie.indexOf(e)>-1?document.cookie.split(e)[1].split("; ")[0].substr(1):""}};_satellite.cookie.set("_sdsat_schoolapi",e.getCookie("schoolapi"))}}},testPrepUserStatus:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;return e&&e.user&&e.user.profile&&e.user.profile.profileInfo&&e.user.profile.profileInfo.segment?e.user.profile.profileInfo.segment.testPrepUserStatus:""}}}},adobeCampaignID:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"cid",caseInsensitive:!0}},checkoutFlowName:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"cart.checkoutFlowName"}},tutorChatInteractions:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e="",t="",o="",a="",n="",s=function(s){s.forEach((function(s){try{e=s.productName||"",t=s.requestID?s.requestID:s.entityID?s.entityID:"",o=s.num_chats||"",a=s.chat_prev_status||"",n=s.chat_new_status||""}catch(e){_satellite.logger.log("chatInteractions DE"+e)}}))};if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&digitalData.event.length>0){var i=digitalData.event,r=i.length-1,c="";void 0!==i[r].eventValue&&"string"!=typeof i[r].eventValue&&((c=i[r].eventValue).length>0?s(c):c&&(e=c.productName||"",t=c.requestID?c.requestID:c.entityID?c.entityID:"",o=c.num_chats||"",a=c.chat_prev_status||"",n=c.chat_new_status||""))}return e&&t||o||a||n?e+"|"+t+"|"+o+"|"+a+"|"+n:""}catch(e){_satellite.logger.log("chatInteractions DE"+e)}}}},eventValue:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&digitalData.event.length>0){var e=digitalData.event;if(void 0!==e[0].eventValue.items)return"cart";for(var t="",o=e.length-1;o>=0;o--){if("string"!=typeof e[o].eventValue)return e[o].eventValue;if(t=e[o].eventValue+","+t,0==o)return t.slice(0,-1)}}}}},rm_cs_csp_trial:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e){for(var t=["scp-9","scp-1","scp-11","scp-21","scp-19","scp-13","chgmnthcs7dft","chgmnthcs14dft","chgmnthcsv2ft","chgstudypck1cu","chgstudypckft"],o=t.length,a=0;a<o;a++)if(t[a]===e)return!0;return!1}for(var t=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",o=""!==t?t.length:"",a=0;a<o;a++)if(e(t[a].productInfo.productID.toLowerCase()))return!0;return!1}}},facebookPixelFlag:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=_satellite.getVar("transactionID");if(_satellite.getVar("oneTrustTargetingCookie")&&e){var t=JSON.parse(sessionStorage.getItem("fbDedup"))?JSON.parse(sessionStorage.getItem("fbDedup")):[],o=function(e,t){for(i in e)if(t==e[i])return!0},a=function(e,t){if(addnew=!0,e.length>0){for(i in e)if(t==e[i]){addnew=!1;break}return addnew&&e.push(t),e}return e.push(t),e};if(1!=o(t,"FB"+e))return cookie=a(t,"FB"+e),sessionStorage.setItem("fbDedup",JSON.stringify(cookie)),"true"}}catch(e){return _satellite.logger.log("Facebook pixel error deduplication "+e),"true"}}}},redemptionZipCode:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.redemptionPage.zipCode"}},cheggAnalyticsCookieEvt_Signup_Data:{storageDuration:"visitor",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.cookie.get("pa-chegganalytics"),t="";return void 0!==e&&""!==e&&JSON.parse(e).forEach((function(e){e.eventID,e.eventValue,e.eventName,void 0!==e.profile&&void 0!==e.profile.encEmailAddress&&(t=e.profile.encEmailAddress+";"+e.profile.regSourceProduct+";"+e.profile.schoolType+";"+e.profile.userType+";"+e.profile.encUserId)})),t}}},tutorRespondTime:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{if(window.digitalData&&window.digitalData.event){eventID=_satellite.getVar("eventID"),requestID=_satellite.getVar("tutorChatInteractions").split("|")[1]||"",chatDetails={requestID:requestID,requestTime:Math.floor(Date.now()/1e3)};var e=JSON.parse(sessionStorage.getItem("tutorResponseTime"))?JSON.parse(sessionStorage.getItem("tutorResponseTime")):[],t=function(e,t){for(var o in e)if(e[o].requestID==t.requestID)return e[o]},o=function(t,o){for(var a in t)if(t[a].requestID==o.requestID)return e.splice(a,1),e};if("event968"==eventID&&requestID&&"na"!==requestID)t(e,chatDetails)||(e.push(chatDetails),sessionStorage.setItem("tutorResponseTime",JSON.stringify(e)));else if("event964"==eventID&&requestID&&"na"!==requestID){var a=t(e,chatDetails),n="";if(a){n=Math.floor(Date.now()/1e3)-a.requestTime;var s=o(e,a);sessionStorage.setItem("tutorResponseTime",JSON.stringify(s))}return n}}}catch(e){}}}},orderHasFreeTrial:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if(0==e[o].price.basePrice&&("scp"===e[o].productInfo.productID.substring(0,3).toLowerCase()||"CHGStudyPckFT"===e[o].productInfo.productID||"CHGMnthCSNFTUK"===e[o].productInfo.productID||"CHGMnthCSNFTSG"===e[o].productInfo.productID||"CHGMnthCSNFTAU"===e[o].productInfo.productID||"CHGStudyPcknoFT"===e[o].productInfo.productID||"1040"===e[o].productInfo.productID||"1041"===e[o].productInfo.productID||"1042"===e[o].productInfo.productID||"bundle"===e[o].productInfo.productFormat))return!0;return!1}}},redemptionCouponCode:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.redemptionPage.couponCode"}},marketingPixelFlagTB:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=_satellite.getVar("transactionID");if(_satellite.getVar("oneTrustTargetingCookie")&&e){var t=JSON.parse(sessionStorage.getItem("mPixelFlag"))?JSON.parse(sessionStorage.getItem("mPixelFlag")).rulesFired:[],o=function(e,t){for(i in e)if(t==e[i])return!0},a=function(e,t){if(addnew=!0,e.length>0){for(i in e)if(t==e[i]){addnew=!1;break}return addnew&&e.push(t),e}return e.push(t),e};if(1!=o(t,"TB"+e))return cookie={rulesFired:a(t,"TB"+e)},sessionStorage.setItem("mPixelFlag",JSON.stringify(cookie)),"true"}}catch(e){return console.log("Marketing pixel error - marketingPixelFired"+e),"true"}}}},mathway_orderpage:{modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.pageInfo.pageName"}},userSHA1Email:{defaultValue:"",cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;if(e&&e.user&&e.user.profile&&e.user.profile.profileInfo)return e.user.profile.profileInfo.SHA1email||e.user.profile.profileInfo.SHA1Email}}}},cheggAnalyticsCookieEvt:{storageDuration:"visitor",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.cookie.get("pa-chegganalytics"),t="";if(void 0!==e&&""!==e){var o=JSON.parse(e);_satellite.logger.log("event found in chegganalytics cookie "+o),o.forEach((function(e){t=e.eventID,_satellite.logger.log(t)}))}return t}}},orderTax:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.total.taxPaid"}},orderAffiliateID:{defaultValue:"",cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=_satellite.cookie.get("TBFAffiliate[affiliate_id]");if(e)return e}}}},subCategory2:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.page&&void 0!==digitalData.page.category&&void 0!==digitalData.page.category.primaryCategory&&void 0!==digitalData.page.category.subCategory1){var e=digitalData.page.category.primaryCategory+"|"+digitalData.page.category.subCategory1;return void 0!==digitalData.page.category.subCategory2&&digitalData.page.category.subCategory2.length>0&&(e+="|"+digitalData.page.category.subCategory2),e}}}},inNativeApp:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"context.isNativeApp"}},totalSteps:{defaultValue:"",storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.progress.totalSteps"}},onPageTracking:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e="",t="",o=digitalData.event;return"undefined"!=typeof digitalData&&void 0!==o&&o.length>0&&(e=o[o.length-1].eventValue.elName||"",value=o[o.length-1].eventValue.elValue||"",t=o[o.length-1].eventValue.elRegion||"",o[o.length-1].eventValue.length>0&&(e=o[o.length-1].eventValue[o[o.length-1].eventValue.length-1].elName||"",value=o[o.length-1].eventValue[o[o.length-1].eventValue.length-1].elValue||"",t=o[o.length-1].eventValue[o[o.length-1].eventValue.length-1].elRegion||"")),e+"|"+value+"|"+t}catch(e){_satellite.logger.log("Error in event"+e)}}}},tutorActiveProductID:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.profile.profileInfo.attributes.tutorStatus.activeProductID"}},boardSubject:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.attributes.boardSubject"}},subSubject:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"page.pageInfo.attributes.subSubject"}},showLinkTrust:{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=_satellite.cookie.get("TBFAffiliate[affiliate_code]");if(e&&"string"==typeof e&&"linktrust"==e.toLowerCase())return"true"}}}},mathSubscriptionStatus:{defaultValue:"Membership Status Unknown",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;return e&&e.user&&e.user.profile&&e.user.profile.profileInfo?(_satellite.logger.log(e.user.profile.profileInfo.mathSubscriptionStatus),e.user.profile.profileInfo.mathSubscriptionStatus):"Membership Status Unknown"}}}},subCategory3:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.page&&void 0!==digitalData.page.category&&void 0!==digitalData.page.category.primaryCategory&&void 0!==digitalData.page.category.subCategory1){var e=digitalData.page.category.primaryCategory+"|"+digitalData.page.category.subCategory1;return void 0!==digitalData.page.category.subCategory2&&digitalData.page.category.subCategory2.length>0&&(e+="|"+digitalData.page.category.subCategory2,void 0!==digitalData.page.category.subCategory3&&null!=digitalData.page.category.subCategory3&&digitalData.page.category.subCategory3.length>0&&(e+="|"+digitalData.page.category.subCategory3)),e}}}},tutorSubscriptionStatus:{defaultValue:"",cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){if("undefined"!=typeof digitalData&&void 0!==digitalData.user&&void 0!==digitalData.user.profile&&void 0!==digitalData.user.profile.profileInfo&&"undefined"!==digitalData.user.profile.profileInfo.attributes&&void 0!==digitalData.user.profile.profileInfo.attributes&&void 0!==digitalData.user.profile.profileInfo.attributes.tutorStatus){if(void 0!==digitalData.user.profile.profileInfo.attributes.tutorStatus.firstTrialEligibility)var e=digitalData.user.profile.profileInfo.attributes.tutorStatus.firstTrialEligibility.campaignID,t=digitalData.user.profile.profileInfo.attributes.tutorStatus.firstTrialEligibility.type;var o=digitalData.user.profile.profileInfo.attributes.tutorStatus.status,a=digitalData.user.profile.profileInfo.attributes.tutorStatus.activeProductID,n=digitalData.user.profile.profileInfo.attributes.tutorStatus.typeOfMinutes}if(t&&o&&a&&e&&n)var s=t+"|"+o+"|"+a+"|"+e+"|"+n;return s}}}},tutorStatusCampaign:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.profile.profileInfo.attributes.tutorStatus.firstTrialEligibility.campaignID"}},pageName:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.page){if(void 0!==digitalData.page.pageInfo&&void 0!==digitalData.page.pageInfo.pageName&&""!=digitalData.page.pageInfo.pageName)var e=digitalData.page.pageInfo.pageName;if(void 0!==digitalData.page.category&&void 0!==digitalData.page.category.primaryCategory&&""!=digitalData.page.category.primaryCategory){var t=digitalData.page.category.primaryCategory;void 0!==digitalData.page.category.subCategory1&&""!=digitalData.page.category.subCategory1&&(t=t+"|"+digitalData.page.category.subCategory1,void 0!==digitalData.page.category.subCategory2&&""!=digitalData.page.category.subCategory2&&(t=t+"|"+digitalData.page.category.subCategory2,void 0!==digitalData.page.category.subCategory3&&null!=digitalData.page.category.subCategory3&&""!=digitalData.page.category.subCategory3&&(t=t+"|"+digitalData.page.category.subCategory3,void 0!==digitalData.page.category.subCategory4&&""!=digitalData.page.category.subCategory4&&(t=t+"|"+digitalData.page.category.subCategory4))))}e&&(e=t+"|"+e)}if(e)return e}}},billingPostalCode:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.profile.billingAddress.postalCode"}},csSubscriptionStatus:{storageDuration:"visitor",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.profile.profileInfo.csMemberStatus"}},orderTotal:{defaultValue:"",cleanText:!0,storageDuration:"pageview",modulePath:"adobe-contexthub/src/lib/dataElement/dataElement.js",settings:{item:"transaction.total.total"}},tutorTypeOfMinutes:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.profile.profileInfo.attributes.tutorStatus.typeOfMinutes"}},userEmail:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;if(e&&e.user&&e.user.profile&&e.user.profile.profileInfo)return e.user.profile.profileInfo.email}}}},studentOrTutorsID:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{if("undefined"!=typeof digitalData&&void 0!==digitalData.event){var e=digitalData.event,t=e.length-1;return e[t].studentOrTutorsID?e[t].studentOrTutorsID:""}}catch(e){_satellite.logger.log("studentOrTutorsID error DE"+e)}}}},oneTrustPerformanceCookie:{defaultValue:"",storageDuration:"visitor",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return _satellite.getVar("oneTrustCookie"),!_satellite.getVar("oneTrustEnable")||_satellite.getVar("oneTrustCookie").indexOf(",prf")>=0||_satellite.getVar("oneTrustCookie").indexOf(",2")>=0}}},cheggStudySubscriptionStatus:{defaultValue:"Membership Status Unknown",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;return e&&e.user&&e.user.profile&&e.user.profile.profileInfo&&e.user.profile.profileInfo.segment&&e.user.profile.profileInfo.segment.cheggStudy?e.user.profile.profileInfo.segment.cheggStudy.userStatus:"Membership Status Unknown"}}}},tutorStatus:{defaultValue:"",forceLowerCase:!0,cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=window.digitalData;return e&&e.user&&e.user.profile&&e.user.profile.profileInfo&&e.user.profile.profileInfo.attributes&&e.user.profile.profileInfo.attributes.tutorStatus?e.user.profile.profileInfo.attributes.tutorStatus.status:""}}}},tutorEligibilityCampaign:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof digitalData&&void 0!==digitalData.event&&digitalData.event.length>0){var e=digitalData.event.length,t="",o="TA",a="TE",n="";for(i=0;i<e;i++){var s=digitalData.event[i],r=s.eventID;if("event78"===r?n=a+":":"event79"===r&&(n=o+":"),void 0!==s.eventValue.items)for(j=0;j<s.eventValue.items.length;j++)void 0===s.eventValue.items[0].productInfo||void 0===s.eventValue.items[0].productInfo.campaignID&&void 0===s.eventValue.items[0].productInfo.campaignId||(t=t+n+(void 0===s.eventValue.items[0].productInfo.campaignId?s.eventValue.items[0].productInfo.campaignID:s.eventValue.items[0].productInfo.campaignId)+"|"+(void 0===s.eventValue.items[0].productInfo.productId?s.eventValue.items[0].productInfo.productID:s.eventValue.items[0].productInfo.productId)+";")}return t=t.substr(0,t.lastIndexOf(";"))+""+t.substr(t.lastIndexOf(";")+" ".length)}}}},userSHA256Email:{defaultValue:"",cleanText:!0,storageDuration:"session",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(_satellite.getVar("oneTrustPerformanceCookie")){var e=function e(t){function o(e,t){return e>>>t|e<<32-t}for(var a,n,s=Math.pow,i=s(2,32),r="length",c="",d=[],u=8*t[r],l=e.h=e.h||[],g=e.k=e.k||[],m=g[r],p={},f=2;m<64;f++)if(!p[f]){for(a=0;a<313;a+=f)p[a]=f;l[m]=s(f,.5)*i|0,g[m++]=s(f,1/3)*i|0}for(t+="\x80";t[r]%64-56;)t+="\0";for(a=0;a<t[r];a++){if((n=t.charCodeAt(a))>>8)return;d[a>>2]|=n<<(3-a)%4*8}for(d[d[r]]=u/i|0,d[d[r]]=u,n=0;n<d[r];){var h=d.slice(n,n+=16),b=l;for(l=l.slice(0,8),a=0;a<64;a++){var v=h[a-15],C=h[a-2],y=l[0],j=l[4],P=l[7]+(o(j,6)^o(j,11)^o(j,25))+(j&l[5]^~j&l[6])+g[a]+(h[a]=a<16?h[a]:h[a-16]+(o(v,7)^o(v,18)^v>>>3)+h[a-7]+(o(C,17)^o(C,19)^C>>>10)|0);(l=[P+((o(y,2)^o(y,13)^o(y,22))+(y&l[1]^y&l[2]^l[1]&l[2]))|0].concat(l))[4]=l[4]+P|0}for(a=0;a<8;a++)l[a]=l[a]+b[a]|0}for(a=0;a<8;a++)for(n=3;n+1;n--){var w=l[a]>>8*n&255;c+=(w<16?0:"")+w.toString(16)}return c},t=window.digitalData;if(t&&t.user&&t.user.profile&&t.user.profile.profileInfo&&null!=t.user.profile.profileInfo.email)return e(t.user.profile.profileInfo.email)}}}},csp_direct_paid:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){for(var e=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",t=""!==e?e.length:"",o=0;o<t;o++)if("chgstudypcknoft"===e[o].productInfo.productID.toLowerCase()&&"3b_signup"===_satellite.getVar("productFormat").toLowerCase()||"chgmnthpremiumpacknft"===e[o].productInfo.productID.toLowerCase()&&"4b_signup"===_satellite.getVar("productFormat").toLowerCase()||"chgmnthcspnftcad"===e[o].productInfo.productID.toLowerCase()&&"3b_signup"===_satellite.getVar("productFormat").toLowerCase()||"chgmnthcspnftgbp"===e[o].productInfo.productID.toLowerCase()&&"3b_signup"===_satellite.getVar("productFormat").toLowerCase()||"chgmnthcspnfttry"===e[o].productInfo.productID.toLowerCase()&&"3b_signup"===_satellite.getVar("productFormat").toLowerCase()||"chgmnthcspnftmxn"===e[o].productInfo.productID.toLowerCase()&&"3b_signup"===_satellite.getVar("productFormat").toLowerCase()||"chgmnthcspnftaud"===e[o].productInfo.productID.toLowerCase()&&"3b_signup"===_satellite.getVar("productFormat").toLowerCase())return!0;return!1}}},rmOrder:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e){for(var t=["chggcu4mnth","chggcu12mnth","chggcu24mnth","dac","chgebmnth499","chgebmnth699","chgebmnth899","chgebmnth1099","chgebmnth1499"],o=t.length,a=0;a<o;a++)if(t[a]===e)return!0;return!1}for(var t=digitalData&&digitalData.transaction&&digitalData.transaction.item?digitalData.transaction.item:"",o=""!==t?t.length:"",a=0;a<o;a++)if("tcp-"===t[a].productInfo.productID.substring(0,4).toLowerCase()||"lbp-"===t[a].productInfo.productID.substring(0,4).toLowerCase()||e(t[a].productInfo.productID.toLowerCase()))return!0;return!1}}},softLoginUserUUID:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof CheggUserUuid&&"undefined"!=typeof C&&void 0!==C.global&&void 0!==C.global.userEmail&&C.global.userEmail.indexOf("**")>-1)return CheggUserUuid}}}},extensions:{core:{displayName:"Core",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP205185a6537e4aacbdc36b05eb266113/",modules:{"core/src/lib/dataElements/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e){"use strict";e.exports=function(e,t){return e.source(t)}}},"core/src/lib/dataElements/cookie.js":{name:"cookie",displayName:"Cookie",script:function(e,t,o){"use strict";var a=o("@adobe/reactor-cookie");e.exports=function(e){return a.get(e.name)}}},"core/src/lib/dataElements/javascriptVariable.js":{name:"javascript-variable",displayName:"JavaScript Variable",script:function(e,t,o){"use strict";var a=o("../helpers/getObjectProperty.js");e.exports=function(e){return a(window,e.path)}}},"core/src/lib/dataElements/queryStringParameter.js":{name:"query-string-parameter",displayName:"Query String Parameter",script:function(e,t,o){"use strict";var a=o("@adobe/reactor-window"),n=o("@adobe/reactor-query-string");e.exports=function(e){var t=n.parse(a.location.search);if(!e.caseInsensitive)return t[e.name];for(var o=e.name.toLowerCase(),s=Object.keys(t),i=0;i<s.length;i++){var r=s[i];if(r.toLowerCase()===o)return t[r]}}}},"core/src/lib/events/dataElementChange.js":{name:"data-element-change",displayName:"Data Element Change",script:function(e,t,o,a){"use strict";var n={},s={};setInterval((function(){Object.keys(n).forEach((function(e){var t=JSON.stringify(a.getDataElementValue(e));if(t!==s[e]){var o={dataElementName:e};n[e].forEach((function(e){e(o)})),s[e]=t}}))}),1e3),e.exports=function(e,t){var o=e.name,i=n[o];i||(i=n[o]=[],s[o]=JSON.stringify(a.getDataElementValue(o))),i.push(t)}}},"core/src/lib/conditions/valueComparison.js":{name:"value-comparison",displayName:"Value Comparison",script:function(e){"use strict";var t=function(e){return"number"==typeof e&&isFinite(e)},o=function(e){return"string"==typeof e||e instanceof String},a=function(e,t){return t&&o(e)?e.toLowerCase():e},n=function(e){return t(e)?String(e):e},s=function(e){return o(e)?Number(e):e},i=function(e){return function(t,a,s){return t=n(t),a=n(a),o(t)&&o(a)&&e(t,a,s)}},r=function(e){return function(o,a){return o=s(o),
a=s(a),t(o)&&t(a)&&e(o,a)}},c=function(e){return function(t,o,n){return e(a(t,n),a(o,n))}},d={equals:c((function(e,t){return e==t})),doesNotEqual:function(){return!d.equals.apply(null,arguments)},contains:i(c((function(e,t){return-1!==e.indexOf(t)}))),doesNotContain:function(){return!d.contains.apply(null,arguments)},startsWith:i(c((function(e,t){return 0===e.indexOf(t)}))),doesNotStartWith:function(){return!d.startsWith.apply(null,arguments)},endsWith:i(c((function(e,t){return e.substring(e.length-t.length,e.length)===t}))),doesNotEndWith:function(){return!d.endsWith.apply(null,arguments)},matchesRegex:i((function(e,t,o){return new RegExp(t,o?"i":"").test(e)})),doesNotMatchRegex:function(){return!d.matchesRegex.apply(null,arguments)},lessThan:r((function(e,t){return e<t})),lessThanOrEqual:r((function(e,t){return e<=t})),greaterThan:r((function(e,t){return e>t})),greaterThanOrEqual:r((function(e,t){return e>=t})),isTrue:function(e){return!0===e},isTruthy:function(e){return Boolean(e)},isFalse:function(e){return!1===e},isFalsy:function(e){return!e}};e.exports=function(e){return d[e.comparison.operator](e.leftOperand,e.rightOperand,Boolean(e.comparison.caseInsensitive))}}},"core/src/lib/conditions/domain.js":{name:"domain",displayName:"Domain",script:function(e,t,o){"use strict";var a=o("@adobe/reactor-document"),n=/[|\\{}()[\]^$+*?.-]/g,s=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")};e.exports=function(e){var t=a.location.hostname;return e.domains.some((function(e){return t.match(new RegExp("(^|\\.)"+s(e)+"$","i"))}))}}},"core/src/lib/actions/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e,t,o,a){"use strict";var n,s,i,r=o("@adobe/reactor-document"),c=o("./helpers/decorateCode"),d=o("./helpers/loadCodeSequentially"),u=o("../../../node_modules/postscribe/dist/postscribe"),l=a.getExtensionSettings(),g=(n=function(e){u(r.body,e,{beforeWriteToken:function(e){return l.cspNonce&&"script"===e.tagName&&(e.attrs.nonce=l.cspNonce),e},error:function(e){a.logger.error(e.msg)}})},s=[],i=function(){if(r.body)for(;s.length;)n(s.shift());else setTimeout(i,20)},function(e){s.push(e),i()}),m=function(){if(r.currentScript)return r.currentScript.async;for(var e=r.querySelectorAll("script"),t=0;t<e.length;t++){var o=e[t];if(/(launch|satelliteLib)-[^\/]+.js(\?.*)?$/.test(o.src))return o.async}return!0}();e.exports=function(e,t){var o={settings:e,event:t},a=o.settings.source;if(a)return o.settings.isExternal?d(a).then((function(e){e&&g(c(o,e))})):void(m||"loading"!==r.readyState?g(c(o,a)):r.write?r.write(c(o,a)):g(c(o,a)))}}},"core/src/lib/events/directCall.js":{name:"direct-call",displayName:"Direct Call",script:function(e,t,o,a){"use strict";var n={};window._satellite=window._satellite||{},window._satellite.track=function(e,t){e=e.trim();var o=n[e];if(o){var s={identifier:e,detail:t};o.forEach((function(e){e(s)}));var i=['Rules using the direct call event type with identifier "'+e+'" have been triggered'+(t?" with additional detail:":".")];t&&i.push(t),a.logger.log.apply(a.logger,i)}else a.logger.log('"'+e+'" does not match any direct call identifiers.')},e.exports=function(e,t){var o=n[e.identifier];o||(o=n[e.identifier]=[]),o.push(t)}}},"core/src/lib/events/windowLoaded.js":{name:"window-loaded",displayName:"Window Loaded",script:function(e,t,o){"use strict";var a=o("./helpers/pageLifecycleEvents");e.exports=function(e,t){a.registerWindowLoadedTrigger(t)}}},"core/src/lib/conditions/pathAndQuerystring.js":{name:"path-and-querystring",displayName:"Path And Query String",script:function(e,t,o){"use strict";var a=o("@adobe/reactor-document"),n=o("../helpers/textMatch");e.exports=function(e){var t=a.location.pathname+a.location.search;return e.paths.some((function(e){var o=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return n(t,o)}))}}},"core/src/lib/conditions/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e){"use strict";e.exports=function(e,t){return e.source.call(t.element,t,t.target)}}},"core/src/lib/conditions/subdomain.js":{name:"subdomain",displayName:"Subdomain",script:function(e,t,o){"use strict";var a=o("@adobe/reactor-document"),n=o("../helpers/textMatch");e.exports=function(e){var t=a.location.hostname;return e.subdomains.some((function(e){var o=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return n(t,o)}))}}},"core/src/lib/events/pageBottom.js":{name:"page-bottom",displayName:"Page Bottom",script:function(e,t,o){"use strict";var a=o("./helpers/pageLifecycleEvents");e.exports=function(e,t){a.registerPageBottomTrigger(t)}}},"core/src/lib/conditions/path.js":{name:"path",displayName:"Path Without Query String",script:function(e,t,o){"use strict";var a=o("@adobe/reactor-document"),n=o("../helpers/textMatch");e.exports=function(e){var t=a.location.pathname;return e.paths.some((function(e){var o=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return n(t,o)}))}}},"core/src/lib/events/libraryLoaded.js":{name:"library-loaded",displayName:"Library Loaded (Page Top)",script:function(e,t,o){"use strict";var a=o("./helpers/pageLifecycleEvents");e.exports=function(e,t){a.registerLibraryLoadedTrigger(t)}}},"core/src/lib/conditions/queryStringParameter.js":{name:"query-string-parameter",displayName:"Query String Parameter",script:function(e,t,o){"use strict";var a=o("@adobe/reactor-window"),n=o("@adobe/reactor-query-string"),s=o("../helpers/textMatch");e.exports=function(e){var t=e.valueIsRegex?new RegExp(e.value,"i"):e.value,o=n.parse(a.location.search);return s(o[e.name],t)}}},"core/src/lib/helpers/getObjectProperty.js":{script:function(e){"use strict";e.exports=function(e,t){for(var o=t.split("."),a=e,n=0,s=o.length;n<s;n++){if(null==a)return;a=a[o[n]]}return a}}},"core/src/lib/actions/helpers/decorateCode.js":{script:function(e,t,o,a){"use strict";var n=0,s=function(e){return e.settings.isExternal},i=function(e,t){return"<script>\n"+t+"\n</script>"},r=function(e,t){var o="__runScript"+ ++n;return _satellite[o]=function(t){t.call(e.event.element,e.event,e.event.target),delete _satellite[o]},'<script>_satellite["'+o+'"](function(event, target) {\n'+t+"\n});</script>"},c={javascript:function(e,t){return e.settings.global?i(e,t):r(e,t)},html:function(e,t){return s(e)?a.replaceTokens(t,e.event):t}};e.exports=function(e,t){return c[e.settings.language](e,t)}}},"core/src/lib/actions/helpers/loadCodeSequentially.js":{script:function(e,t,o){"use strict";var a=o("@adobe/reactor-promise"),n=o("./getSourceByUrl"),s=a.resolve();e.exports=function(e){var t=new a((function(t){var o=n(e);a.all([o,s]).then((function(e){var o=e[0];t(o)}))}));return s=t,t}}},"core/node_modules/postscribe/dist/postscribe.js":{script:function(e,t){var o,a;o=this,a=function(){return function(e){function t(a){if(o[a])return o[a].exports;var n=o[a]={exports:{},id:a,loaded:!1};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var n=a(o(1));e.exports=n.default},function(e,t,o){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}function n(e){return e&&e.__esModule?e:{default:e}}function s(){}function i(){var e=p.shift();if(e){var t=l.last(e);t.afterDequeue(),e.stream=r.apply(void 0,e),t.afterStreamStart()}}function r(e,t,o){function a(e){e=o.beforeWrite(e),f.write(e),o.afterWrite(e)}(f=new u.default(e,o)).id=m++,f.name=o.name||f.id,c.streams[f.name]=f;var n=e.ownerDocument,r={close:n.close,open:n.open,write:n.write,writeln:n.writeln};d(n,{close:s,open:s,write:function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return a(t.join(""))},writeln:function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return a(t.join("")+"\n")}});var l=f.win.onerror||s;return f.win.onerror=function(e,t,a){o.error({msg:e+" - "+t+": "+a}),l.apply(f.win,[e,t,a])},f.write(t,(function(){d(n,r),f.win.onerror=l,o.done(),f=null,i()})),f}function c(e,t,o){if(l.isFunction(o))o={done:o};else if("clear"===o)return p=[],f=null,void(m=0);o=l.defaults(o,g);var a=[e=/^#/.test(e)?window.document.getElementById(e.substr(1)):e.jquery?e[0]:e,t,o];return e.postscribe={cancel:function(){a.stream?a.stream.abort():a[1]=s}},o.beforeEnqueue(a),p.push(a),f||i(),e.postscribe}t.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e};t.default=c;var u=n(o(2)),l=a(o(4)),g={afterAsync:s,afterDequeue:s,afterStreamStart:s,afterWrite:s,autoFix:!0,beforeEnqueue:s,beforeWriteToken:function(e){return e},beforeWrite:function(e){return e},done:s,error:function(e){throw new Error(e.msg)},releaseAsync:!1},m=0,p=[],f=null;d(c,{streams:{},queue:p,WriteStream:u.default})},function(e,t,o){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){var o=g+t,a=e.getAttribute(o);return u.existy(a)?String(a):a}function r(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=g+t;u.existy(o)&&""!==o?e.setAttribute(a,o):e.removeAttribute(a)}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},d=n(o(3)),u=a(o(4)),l=!1,g="data-ps-",m="ps-style",p="ps-script",f=function(){function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s(this,e),this.root=t,this.options=o,this.doc=t.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new d.default("",{autoFix:o.autoFix}),this.actuals=[t],this.proxyHistory="",this.proxyRoot=this.doc.createElement(t.nodeName),this.scriptStack=[],this.writeQueue=[],r(this.proxyRoot,"proxyof",0)}return e.prototype.write=function(){var e;for((e=this.writeQueue).push.apply(e,arguments);!this.deferredRemote&&this.writeQueue.length;){var t=this.writeQueue.shift();u.isFunction(t)?this._callFunction(t):this._writeImpl(t)}},e.prototype._callFunction=function(e){var t={type:"function",value:e.name||e.toString()};this._onScriptStart(t),e.call(this.win,this.doc),this._onScriptDone(t)},e.prototype._writeImpl=function(e){this.parser.append(e);for(var t=void 0,o=void 0,a=void 0,n=[];(t=this.parser.readToken())&&!(o=u.isScript(t))&&!(a=u.isStyle(t));)(t=this.options.beforeWriteToken(t))&&n.push(t);n.length>0&&this._writeStaticTokens(n),o&&this._handleScriptToken(t),a&&this._handleStyleToken(t)},e.prototype._writeStaticTokens=function(e){var t=this._buildChunk(e);return t.actual?(t.html=this.proxyHistory+t.actual,this.proxyHistory+=t.proxy,this.proxyRoot.innerHTML=t.html,l&&(t.proxyInnerHTML=this.proxyRoot.innerHTML),this._walkChunk(),l&&(t.actualInnerHTML=this.root.innerHTML),t):null},e.prototype._buildChunk=function(e){for(var t=this.actuals.length,o=[],a=[],n=[],s=e.length,i=0;i<s;i++){var r=e[i],c=r.toString();if(o.push(c),r.attrs){if(!/^noscript$/i.test(r.tagName)){var d=t++;a.push(c.replace(/(\/?>)/," "+g+"id="+d+" $1")),r.attrs.id!==p&&r.attrs.id!==m&&n.push("atomicTag"===r.type?"":"<"+r.tagName+" "+g+"proxyof="+d+(r.unary?" />":">"))}}else a.push(c),n.push("endTag"===r.type?c:"")}return{tokens:e,raw:o.join(""),actual:a.join(""),proxy:n.join("")}},e.prototype._walkChunk=function(){for(var e=void 0,t=[this.proxyRoot];u.existy(e=t.shift());){var o=1===e.nodeType;if(!o||!i(e,"proxyof")){o&&(this.actuals[i(e,"id")]=e,r(e,"id"));var a=e.parentNode&&i(e.parentNode,"proxyof");a&&this.actuals[a].appendChild(e)}t.unshift.apply(t,u.toArray(e.childNodes))}},e.prototype._handleScriptToken=function(e){var t=this,o=this.parser.clear();o&&this.writeQueue.unshift(o),e.src=e.attrs.src||e.attrs.SRC,(e=this.options.beforeWriteToken(e))&&(e.src&&this.scriptStack.length?this.deferredRemote=e:this._onScriptStart(e),this._writeScriptToken(e,(function(){t._onScriptDone(e)})))},e.prototype._handleStyleToken=function(e){var t=this.parser.clear();t&&this.writeQueue.unshift(t),e.type=e.attrs.type||e.attrs.TYPE||"text/css",(e=this.options.beforeWriteToken(e))&&this._writeStyleToken(e),t&&this.write()},e.prototype._writeStyleToken=function(e){var t=this._buildStyle(e);this._insertCursor(t,m),e.content&&(t.styleSheet&&!t.sheet?t.styleSheet.cssText=e.content:t.appendChild(this.doc.createTextNode(e.content)))},e.prototype._buildStyle=function(e){var t=this.doc.createElement(e.tagName);return t.setAttribute("type",e.type),u.eachKey(e.attrs,(function(e,o){t.setAttribute(e,o)})),t},e.prototype._insertCursor=function(e,t){this._writeImpl('<span id="'+t+'"/>');var o=this.doc.getElementById(t);o&&o.parentNode.replaceChild(e,o)},e.prototype._onScriptStart=function(e){e.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(e)},e.prototype._onScriptDone=function(e){e===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,e.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},e.prototype._writeScriptToken=function(e,t){var o=this._buildScript(e),a=this._shouldRelease(o),n=this.options.afterAsync;e.src&&(o.src=e.src,this._scriptLoadHandler(o,a?n:function(){t(),n()}));try{this._insertCursor(o,p),o.src&&!a||t()}catch(e){this.options.error(e),t()}},e.prototype._buildScript=function(e){var t=this.doc.createElement(e.tagName);return u.eachKey(e.attrs,(function(e,o){t.setAttribute(e,o)})),e.content&&(t.text=e.content),t},e.prototype._scriptLoadHandler=function(e,t){function o(){e=e.onload=e.onreadystatechange=e.onerror=null}function a(){o(),null!=t&&t(),t=null}function n(e){o(),i(e),null!=t&&t(),t=null}function s(e,t){var o=e["on"+t];null!=o&&(e["_on"+t]=o)}var i=this.options.error;s(e,"load"),s(e,"error"),c(e,{onload:function(){if(e._onload)try{e._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){n({msg:"onload handler failed "+t+" @ "+e.src})}a()},onerror:function(){if(e._onerror)try{e._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){return void n({msg:"onerror handler failed "+t+" @ "+e.src})}n({msg:"remote script failed "+e.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(e.readyState)&&a()}})},e.prototype._shouldRelease=function(e){return!/^script$/i.test(e.nodeName)||!!(this.options.releaseAsync&&e.src&&e.hasAttribute("async"))},e}();t.default=f},function(e){var t;t=function(){return function(e){function t(a){if(o[a])return o[a].exports;var n=o[a]={exports:{},id:a,loaded:!1};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var n=a(o(1));e.exports=n.default},function(e,t,o){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var i=n(o(2)),r=n(o(3)),c=a(o(6)),d=o(5),u={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},l=function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s(this,e),this.stream=o;var n=!1,r={};for(var d in i)i.hasOwnProperty(d)&&(a.autoFix&&(r[d+"Fix"]=!0),n=n||r[d+"Fix"]);n?(this._readToken=(0,c.default)(this,r,(function(){return t._readTokenImpl()})),this._peekToken=(0,c.default)(this,r,(function(){return t._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return e.prototype.append=function(e){this.stream+=e},e.prototype.prepend=function(e){this.stream=e+this.stream},e.prototype._readTokenImpl=function(){var e=this._peekTokenImpl();if(e)return this.stream=this.stream.slice(e.length),e},e.prototype._peekTokenImpl=function(){for(var e in u)if(u.hasOwnProperty(e)&&u[e].test(this.stream)){var t=r[e](this.stream);if(t)return"startTag"===t.type&&/script|style/i.test(t.tagName)?null:(t.text=this.stream.substr(0,t.length),t)}},e.prototype.peekToken=function(){return this._peekToken()},e.prototype.readToken=function(){return this._readToken()},e.prototype.readTokens=function(e){for(var t=void 0;t=this.readToken();)if(e[t.type]&&!1===e[t.type](t))return},e.prototype.clear=function(){var e=this.stream;return this.stream="",e},e.prototype.rest=function(){return this.stream},e}();for(var g in t.default=l,l.tokenToString=function(e){return e.toString()},l.escapeAttributes=function(e){var t={};for(var o in e)e.hasOwnProperty(o)&&(t[o]=(0,d.escapeQuotes)(e[o],null));return t},l.supports=i,i)i.hasOwnProperty(g)&&(l.browserHasFlaw=l.browserHasFlaw||!i[g]&&g)},function(e,t){"use strict";t.__esModule=!0;var o=!1,a=!1,n=window.document.createElement("div");try{var s="<P><I></P></I>";n.innerHTML=s,t.tagSoup=o=n.innerHTML!==s}catch(e){t.tagSoup=o=!1}try{n.innerHTML="<P><i><P></P></i></P>",t.selfClose=a=2===n.childNodes.length}catch(e){t.selfClose=a=!1}n=null,t.tagSoup=o,t.selfClose=a},function(e,t,o){"use strict";function a(e){var t=e.indexOf("-->");if(t>=0)return new d.CommentToken(e.substr(4,t-1),t+3)}function n(e){var t=e.indexOf("<");return new d.CharsToken(t>=0?t:e.length)}function s(e){var t,o,a;if(-1!==e.indexOf(">")){var n=e.match(u.startTag);if(n){var s=(t={},o={},a=n[2],n[2].replace(u.attr,(function(e,n){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(t[arguments[5]]="",o[arguments[5]]=!0):t[n]=arguments[2]||arguments[3]||arguments[4]||u.fillAttr.test(n)&&n||"":t[n]="",a=a.replace(e,"")})),{v:new d.StartTagToken(n[1],n[0].length,t,o,!!n[3],a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===s?"undefined":c(s)))return s.v}}}function i(e){var t=s(e);if(t){var o=e.slice(t.length);if(o.match(new RegExp("</\\s*"+t.tagName+"\\s*>","i"))){var a=o.match(new RegExp("([\\s\\S]*?)</\\s*"+t.tagName+"\\s*>","i"));if(a)return new d.AtomicTagToken(t.tagName,a[0].length+t.length,t.attrs,t.booleanAttrs,a[1])}}}function r(e){var t=e.match(u.endTag);if(t)return new d.EndTagToken(t[1],t[0].length)}t.__esModule=!0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.comment=a,t.chars=n,t.startTag=s,t.atomicTag=i,t.endTag=r;var d=o(4),u={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(e,t,o){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0,t.EndTagToken=t.AtomicTagToken=t.StartTagToken=t.TagToken=t.CharsToken=t.CommentToken=t.Token=void 0;var n=o(5),s=(t.Token=function e(t,o){a(this,e),this.type=t,this.length=o,this.text=""},t.CommentToken=function(){function e(t,o){a(this,e),this.type="comment",this.length=o||(t?t.length:0),this.text="",this.content=t}return e.prototype.toString=function(){return"<!--"+this.content},e}(),t.CharsToken=function(){function e(t){a(this,e),this.type="chars",this.length=t,this.text=""}return e.prototype.toString=function(){return this.text},e}(),t.TagToken=function(){function e(t,o,n,s,i){a(this,e),this.type=t,this.length=n,this.text="",this.tagName=o,this.attrs=s,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1}return e.formatTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o="<"+e.tagName;for(var a in e.attrs)if(e.attrs.hasOwnProperty(a)){o+=" "+a;var s=e.attrs[a];void 0!==e.booleanAttrs&&void 0!==e.booleanAttrs[a]||(o+='="'+(0,n.escapeQuotes)(s)+'"')}return e.rest&&(o+=" "+e.rest),e.unary&&!e.html5Unary?o+="/>":o+=">",null!=t&&(o+=t+"</"+e.tagName+">"),o},e}());t.StartTagToken=function(){function e(t,o,n,s,i,r){a(this,e),this.type="startTag",this.length=o,this.text="",this.tagName=t,this.attrs=n,this.booleanAttrs=s,this.html5Unary=!1,this.unary=i,this.rest=r}return e.prototype.toString=function(){return s.formatTag(this)},e}(),t.AtomicTagToken=function(){function e(t,o,n,s,i){a(this,e),this.type="atomicTag",this.length=o,this.text="",this.tagName=t,this.attrs=n,this.booleanAttrs=s,this.unary=!1,this.html5Unary=!1,this.content=i}return e.prototype.toString=function(){return s.formatTag(this,this.content)},e}(),t.EndTagToken=function(){function e(t,o){a(this,e),this.type="endTag",this.length=o,this.text="",this.tagName=t}return e.prototype.toString=function(){return"</"+this.tagName+">"},e}()},function(e,t){"use strict";function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.replace(/([^"]*)"/g,(function(e,t){return/\\/.test(t)?t+'"':t+'\\"'})):t}t.__esModule=!0,t.escapeQuotes=o},function(e,t){"use strict";function o(e){return e&&"startTag"===e.type&&(e.unary=r.test(e.tagName)||e.unary,e.html5Unary=!/\/>$/.test(e.text)),e}function a(e,t){var a=e.stream,n=o(t());return e.stream=a,n}function n(e,t){var o=t.pop();e.prepend("</"+o.tagName+">")}function s(){var e=[];return e.last=function(){return this[this.length-1]},e.lastTagNameEq=function(e){var t=this.last();return t&&t.tagName&&t.tagName.toUpperCase()===e.toUpperCase()},e.containsTagName=function(e){for(var t,o=0;t=this[o];o++)if(t.tagName===e)return!0;return!1},e}function i(e,t,i){function r(){var t=a(e,i);t&&u[t.type]&&u[t.type](t)}var d=s(),u={startTag:function(o){var a=o.tagName;"TR"===a.toUpperCase()&&d.lastTagNameEq("TABLE")?(e.prepend("<TBODY>"),r()):t.selfCloseFix&&c.test(a)&&d.containsTagName(a)?d.lastTagNameEq(a)?n(e,d):(e.prepend("</"+o.tagName+">"),r()):o.unary||d.push(o)},endTag:function(o){d.last()?t.tagSoupFix&&!d.lastTagNameEq(o.tagName)?n(e,d):d.pop():t.tagSoupFix&&(i(),r())}};return function(){return r(),o(i())}}t.__esModule=!0,t.default=i;var r=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,c=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i}])},e.exports=t()},function(e,t){"use strict";function o(e){return null!=e}function a(e){return"function"==typeof e}function n(e,t,o){var a=void 0,n=e&&e.length||0;for(a=0;a<n;a++)t.call(o,e[a],a)}function s(e,t,o){for(var a in e)e.hasOwnProperty(a)&&t.call(o,a,e[a])}function i(e,t){return e=e||{},s(t,(function(t,a){o(e[t])||(e[t]=a)})),e}function r(e){try{return Array.prototype.slice.call(e)}catch(a){var t=(o=[],n(e,(function(e){o.push(e)})),{v:o});if("object"===(void 0===t?"undefined":g(t)))return t.v}var o}function c(e){return e[e.length-1]}function d(e,t){return!(!e||"startTag"!==e.type&&"atomicTag"!==e.type||!("tagName"in e)||!~e.tagName.toLowerCase().indexOf(t))}function u(e){return d(e,"script")}function l(e){return d(e,"style")}t.__esModule=!0;var g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.existy=o,t.isFunction=a,t.each=n,t.eachKey=s,t.defaults=i,t.toArray=r,t.last=c,t.isTag=d,t.isScript=u,t.isStyle=l}])},"object"==typeof t&&"object"==typeof e?e.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof t?t.postscribe=a():o.postscribe=a()}},"core/src/lib/actions/helpers/getSourceByUrl.js":{script:function(e,t,o){"use strict";var a=o("@adobe/reactor-load-script"),n=o("@adobe/reactor-promise"),s={},i={},r=function(e){return i[e]||(i[e]=a(e)),i[e]};_satellite.__registerScript=function(e,t){s[e]=t},e.exports=function(e){return s[e]?n.resolve(s[e]):new n((function(t){r(e).then((function(){t(s[e])}),(function(){t()}))}))}}},"core/src/lib/events/helpers/pageLifecycleEvents.js":{script:function(e,t,o){"use strict";var a=o("@adobe/reactor-window"),n=o("@adobe/reactor-document"),s=-1!==a.navigator.appVersion.indexOf("MSIE 10"),i="WINDOW_LOADED",r="DOM_READY",c="PAGE_BOTTOM",d=[c,r,i],u=function(e,t){return{element:e,target:e,nativeEvent:t}},l={};d.forEach((function(e){l[e]=[]}));var g=function(e,t){d.slice(0,p(e)+1).forEach((function(e){f(t,e)}))},m=function(){return"complete"===n.readyState?i:"interactive"===n.readyState?s?null:r:void 0},p=function(e){return d.indexOf(e)},f=function(e,t){l[t].forEach((function(t){h(e,t)})),l[t]=[]},h=function(e,t){var o=t.trigger,a=t.syntheticEventFn;o(a?a(e):null)};a._satellite=a._satellite||{},a._satellite.pageBottom=g.bind(null,c),n.addEventListener("DOMContentLoaded",g.bind(null,r),!0),a.addEventListener("load",g.bind(null,i),!0),a.setTimeout((function(){var e=m();e&&g(e)}),0),e.exports={registerLibraryLoadedTrigger:function(e){e()},registerPageBottomTrigger:function(e){l[c].push({trigger:e})},registerDomReadyTrigger:function(e){l[r].push({trigger:e,syntheticEventFn:u.bind(null,n)})},registerWindowLoadedTrigger:function(e){l[i].push({trigger:e,syntheticEventFn:u.bind(null,a)})}}}},"core/src/lib/helpers/textMatch.js":{script:function(e){"use strict";e.exports=function(e,t){if(null==t)throw new Error("Illegal Argument: Pattern is not present");return null!=e&&("string"==typeof t?e===t:t instanceof RegExp&&t.test(e))}}}}},"adobe-contexthub":{displayName:"Adobe ContextHub",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP76cc9a1cb360441db5c7bfb163c22e2b/",settings:{root:"window.digitalData",dataSchema:{type:"object",$schema:"http://json-schema.org/draft-04/schema#",properties:{cart:{type:"object",properties:{items:{type:"array",items:{type:"object",properties:{price:{type:"object",properties:{basePrice:{type:"number"}},additionalProperties:!1},quantity:{type:"integer"},productInfo:{type:"object",properties:{productID:{type:"string"},stockStatus:{type:"string"},productFormat:{type:"string"},rentalTimeFrame:{type:"string"}},additionalProperties:!1}},additionalProperties:!1}},total:{type:"object",properties:{taxPaid:{type:"number"},currency:{type:"string"},voucherCode:{type:"string"},shippingPaid:{type:"number"},shippingMethod:{type:"string"},voucherDiscount:{type:"number"}},additionalProperties:!1},cartID:{type:"string"},attributes:{type:"object",properties:{paymentMethod:{type:"string"}},additionalProperties:!1},checkoutFlowName:{type:"string"}},additionalProperties:!1},page:{type:"object",properties:{category:{type:"object",properties:{pageType:{type:"string"},subCategory1:{type:"string"},subCategory2:{type:"string"},subCategory3:{type:"string"},subCategory4:{type:"string"},primaryCategory:{type:"string"}},additionalProperties:!1},pageInfo:{type:"object",properties:{error:{type:"string"},pageName:{type:"string"},progress:{type:"object",properties:{step:{type:"string"},totalSteps:{type:"string"}},additionalProperties:!1},attributes:{type:"object",properties:{perbs:{type:"string"},subSubject:{type:"string"},boardSubject:{type:"string"},onsiteSearch:{type:"object",properties:{trackID:{type:"string"},resultRank:{type:"string"},resultType:{type:"string"},searchTerm:{type:"string"},resultTypeRank:{type:"string"},searchLocation:{type:"string"}},additionalProperties:!1},parentSubject:{type:"string"},subSubSubject:{type:"string"}},additionalProperties:!1},checkoutPage:{type:"string"},pageNameDetailed:{type:"string"}},additionalProperties:!1},attributes:{type:"object",properties:{contentTaxonomy:{type:"object",properties:{topic:{type:"string"},subject:{type:"string"},classification:{type:"string"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1},user:{type:"object",properties:{profile:{type:"object",properties:{profileInfo:{type:"object",properties:{email:{type:"string"},segment:{type:"object",properties:{authStatus:{type:"string"},cheggStudy:{type:"object",properties:{hasAccess:{type:"string"},userStatus:{type:"string"},subcriptionType:{type:"string"},reactivatedCount:{type:"integer"},lifetimeIntervals:{type:"integer"},subscriptionPeriod:{type:"integer"}},additionalProperties:!1},testPrepUserStatus:{type:"string"},cheggStudyUserStatus:{type:"string"},hasUserEverUsedFreeTutorsMinutes:{type:"string"}},additionalProperties:!1},SHA1Email:{type:"string"},profileID:{type:"string"},attributes:{type:"object",properties:{uvn:{type:"string"},tutorUUID:{type:"string"},lastOrderKey:{type:"string"},cheggUserUUID:{type:"string"}},additionalProperties:!1},mathSubscriptionStatus:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},tutorsSubscriberEver:{type:"string"}},additionalProperties:!1},event:{type:"array",items:{type:"object",properties:{type:{type:"string"},eventID:{type:"string"},callback:{type:"string"},eventName:{type:"string"},timeStamp:{type:"string"},eventValue:{type:"integer"}}}},context:{type:"object",properties:{isNativeApp:{type:"boolean"}},additionalProperties:!1},product:{type:"array",items:{type:"object",properties:{productInfo:{type:"object",properties:{productID:{type:"string"},stockStatus:{type:"string"},productFormat:{type:"string"},rentalTimeFrame:{type:"string"}},additionalProperties:!1}},additionalProperties:!1}},transaction:{type:"object",properties:{item:{type:"array",items:{type:"object",properties:{price:{type:"object",properties:{basePrice:{type:"number"}},additionalProperties:!1},quantity:{type:"integer"},productInfo:{type:"object",properties:{productID:{type:"string"},stockStatus:{type:"string"},productFormat:{type:"string"},rentalTimeFrame:{type:"string"}},additionalProperties:!1}},additionalProperties:!1}},total:{type:"object",properties:{total:{type:"number"},taxPaid:{type:"number"},currency:{type:"string"},subtotal:{type:"number"},voucherCode:{type:"string"},shippingPaid:{type:"number"},shippingMethod:{type:"string"},voucherDiscount:{type:"number"}},additionalProperties:!1},profile:{type:"object",properties:{billingAddress:{type:"object",properties:{city:{type:"string"},line1:{type:"string"},line2:{type:"string"},country:{type:"string"},postalCode:{type:"string"},stateProvince:{type:"string"}},additionalProperties:!1},shippingAddress:{type:"object",properties:{city:{type:"string"},line1:{type:"string"},line2:{type:"string"},country:{type:"string"},postalCode:{type:"string"},stateProvince:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},attributes:{type:"object",properties:{affiliate:{type:"object",properties:{name:{type:"string"},commisionPercentage:{type:"string"}},additionalProperties:!1},orderType:{type:"string"},affiliateID:{type:"string"},paymentMethod:{type:"string"},conversionType:{type:"string"}},additionalProperties:!1},transactionID:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},dataSchemaType:"custom"},modules:{"adobe-contexthub/src/lib/dataElement/dataElement.js":{name:"contexthub",displayName:"Context Hub",script:function(e,t,o,a){"use strict";function n(e,t){if(null!=t){for(var o=t,a=e.split("."),n=0;n<a.length;++n){if(void 0===o[a[n]])return;o=o[a[n]]}return o}}var s=o("@adobe/reactor-window");e.exports=function(e){var t=a.getExtensionSettings(),o="ContextHub";if("custom"===t.dataSchemaType&&void 0!==t.root&&(o=t.root.replace("window.","")),"ContextHub"===o&&void 0!==s[o]&&"function"==typeof s[o].getAllStores){var i=e.item.replace(/\./g,"/");return s[o].getItem("/store/"+i)}var r=n(o,s);return n(e.item,r)}}}}}},company:{orgId:"3FE7CBC1556605A77F000101@AdobeOrg",dynamicCdnEnabled:!1},property:{name:"Chegg - New (DTM - 2020-04-27 16:59:00)",settings:{domains:["adobe-test.herokuapp.com","bibme.org","careermatch.com","chegg.com","cheggfoundation.org","cheggnet.com","citationmachine.net","internships.com","nano-demos.com","nanodemos.com","wpengine.com","tutorschat-test.atlassian.net","mathway.com"],undefinedVarsReturnEmpty:!0,ruleComponentSequencingEnabled:!1},id:"PRf3f88a4c66524238b898fa6a5ee5e89b"},rules:[{id:"RL5d4e4a6326824c6ab2568f19305d6ce1",name:"Chegg : Math (new): Order Confirm Pixel",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"transactionID"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%mathOrder%"}},{
modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|math|math checkout"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC44c80a49d12646c99d9d63a2fe5cb573-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC977f49c011dd4db69ce34d45fac8d842-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC24253efe461540d388c655ec208668f0-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL290e3540dd644bf0b5f9cd26d6e27b93",name:"Chegg : 4B_Signup : Order Confirm Pixel",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"4b_signup"===_satellite.getVar("productFormat").toLowerCase()}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagCS%",rightOperand:"true"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf63873263f6b43b79c7897b2438d2065-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCfa4444a2c0834534ab2b136cdcee5b3c-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC087f65ebbd1d43449152c6d1a860d6d7-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC41497754a05b4336995c17ed9f425013-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL7bd68dcb0aa64312a288a5f44531a4e0",name:"Chegg Writing Citations Dashboard Floodlight tag",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"writing\\/citations\\/dashboard\\/|writing\\/citations\\/dashboard",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf5131a39b9654f2b82e471cd59f434da-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLe20ffdbb9db8416cb8190690e3644cb7",name:"Pixels: All Pages (Prod)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/subdomain.js",settings:{subdomains:[{value:"reader|test-prep|cms",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/(play|bettergrades|summer)\\/?",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC96b6f0584cf949228f4f6ada991cb988-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC5ec5cfe038f847f2a9ba0273793f9bd3-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCd1d01b2d3a8a4ed68695bce66f11ff79-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf125eafc2546437cbef9645debff3073-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC505e4925226641cc84733b71cc9f0ddb-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC48a1f1637bc4444095e9328a3400c935-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC9db06162890540968dba9db32b62b84f-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC443a1fd5524b47e2b2480818c4f18db6-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCfe77e4fcb415479aa9f6098c7a37e61c-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf22b6f71cf71480cbef3c67c85d31885-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCb6f73866439e436a90ffd40b7a3aedbe-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC44e07c816f754e6aa65d0638fd3c62bc-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC5e4b74efa3534e428646fecb9fed46d9-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCa1f3ce2108924dd2b87a9aec4d3c87e0-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCc020f97e9b524dfb8dbc4d6c5c323d9c-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC1188daad5d6749ab8aa798c9bf73ad47-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC4eeca4b3b46d49378504d95775506198-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC6ad94e866eaa4207ba4e5464d879cbac-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC31289190058c41619d091e625da725cf-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC2a6c1340ea9e41daaa5bd877dd3b475c-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf005aa3f726e4a178db2b9451b68d254-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC1f4a7c2a794b4cb6bb3f2e51ceb1fb3d-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL9013fc9befb44bdbab5704aa1eafd83e",name:"Device Fingerprint (CheggNet)",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com"]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"(study\\/?$)|(study\\/?\\?)|((homework\\-help\\/)((questions\\-and\\-answers.*-q\\d{7,}\\/?$|questions\\-and-answers.*-q\\d{7,}\\/?\\?)|(.*solutions?\\-\\d{13}\\/?$|.*solutions?\\-\\d{13}\\/?\\?)|(.*solutions?\\-\\d{13}?$|.*solutions?\\-\\d{13}\\?)||(definitions)))|(study\\/qa\\/post)",valueIsRegex:!0},{value:"course\\/[a-zA-Z0-9\\-]+\\/uversity\\/[a-zA-Z0-9\\-\\_]+",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"try{\n  var ele = document.createElement('script');\n  ele.setAttribute('src', '//chegg-gne-iam.test.cheggcdn.com/lib/fingerprint-web-sdk/latest/index.min.js');\n  ele.async = 'true';\n  document.body.appendChild(ele);\n} catch(e){_satellite.logger.log('Device Fingerprint Error -> ',e);}",language:"javascript"}}]},{id:"RL830ae662ec154500811f5bbf7833cee0",name:"Pixel: LinkTrust Textbook Rental",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"===_satellite.getVar("showLinkTrust")&&(!0===_satellite.getVar("orderHasRentalItems")||!0===_satellite.getVar("orderHasSellItems"))}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|tb|tb order confirmation pixel"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCb189c0ac1e454f8daa20c44496f338bc-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL41f83d6583cf4982a75622608900a60c",name:"Chegg : Tutors (new): Order Confirmation",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"tutors/subscription-confirmation",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%tutorsOrder%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf55a06ce58b349c8aaa76b6f9c337341-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC7494c47e78a84fe38f8d9468bd31a952-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCd3ce7414931748979221ce60ffa17bca-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL9817545cd1a04c7f875c3bb425c29265",name:"Help Center",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"undefined"!=typeof nanorep}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustPerformanceCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCc235111d8fdc40648d1c0ccdd95c63c1-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL1377169b31484e798d5862dcd2d51d4b",name:"OneTrust Banner Close",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC01aa4156939f44399fd3e7d83c33e0de-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL9cf30a6fc8684567b28b8780534e36aa",name:"Chegg : Mathway question solved",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"mathwayPageNameDetailed"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["mathway.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return _satellite.getVar("mathwayPageNameDetailed").indexOf("solved problem number 1")>-1||_satellite.getVar("mathwayPageNameDetailed").indexOf("solved problem number 3")>-1}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCaab4555125704d16affb6a41def8be4e-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCde80d826200d49b5a79dcdf7b868b76d-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCfc0f21f0d64046469dd88f1fedaeb5d4-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL3fa75c91e3b944e9bd2b212804ba4748",name:"Chegg Study: Course Added",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"pageName"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if("chegg|web|core|course added modal"===_satellite.getVar("pageName"))return!0}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC9de60edfac50430983256125402ed92a-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL36254ef86bb04bcdabcb1cdf53d99c6d",name:"Chegg : Mathway All pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["mathway.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC29dbae365373492f94a01f438c007b31-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCd21e428a5f7f4c988841f28a67299c4b-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC72d6eda763f34579a3fca5c822a1dc1d-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC07aee72b5b3e473694b4cf970f77f086-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC2b8638827d2d46d6b67896adf246213a-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCbb4a89caf7e24fc9997bc4862e0c930f-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC05a818dee44d4412a016af67bca53e25-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLf2b9c5a2a4c6458493204cae87210bc1",name:"Chegg :DeleteCVID_Cookie_Wrapper",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"doesNotEqual"},leftOperand:"%pageName%",rightOperand:"chegg|web|core|home page"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"try{\n  var ele = document.createElement('script');\n  ele.setAttribute('src', 'https://mtriowrappercdn.chegg.com/rio-mt-cookie-wrappers_12.js');\n  ele.async = 'true';\n  document.body.appendChild(ele);\n\n} catch(e){_satellite.logger.log('CVID Cookie Delete script Error -->',e);}",language:"javascript"}}]},{id:"RL56df9da4f041447db3fec46b08cd342b",name:"Chegg: Home Work Help",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"\\/homework\\-help",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[]},{id:"RL0a905a8992a6418b887a92c26a613a64",name:"Chegg Study : Post Question (Data Element Change Event)",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"eventID"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"event62"===_satellite.getVar("eventID")&&"chegg|web|cs|qa|post question page"===_satellite.getVar("pageName")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf8262ac19bfb4f8c96cd36288086ad51-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL0f69820072434dc8bf11dcb47492d221",name:"Impact Radius Cookie",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com","mathway.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var utils = {\n    setCookie : function (cname, cvalue, expmin) {\n      var getDomainWithoutSubdomain = function() {\n        try {\n            var urlParts = window.location.hostname.split('.');\n            return urlParts\n              .slice(0)\n              .slice(-(urlParts.length === 4 ? 3 : 2))\n              .join('.');\n          } catch (error) {\n            return '';\n          }\n      };\n      var domain = getDomainWithoutSubdomain();\n      if (typeof expmin === 'undefined')\n        document.cookie = cname + \"=\" + cvalue + \"; path=/; secure; domain=\" + domain;\n      else {\n        var date = new Date();\n        date.setTime(date.getTime() + (expmin * 60 * 1000));\n        var expires = \"expires=\"+date.toUTCString();\n        document.cookie = cname + \"=\" + cvalue + \"; \" + expires + \"; path=/; secure; domain=\" + domain;\n      }\n    },\n    getCookie : function (name) {\n        if (document.cookie.indexOf(name) > -1) {\n            return document.cookie.split(name)[1].split(\"; \")[0].substr(1);\n        } else {\n            return '';\n        }\n    },\n    getQueryParamByName : function(name, url = window.location.href) {\n        name = name.replace(/[\\[\\]]/g, '\\\\$&');\n        var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),\n            results = regex.exec(url);\n        if (!results) return null;\n        if (!results[2]) return '';\n        return decodeURIComponent(results[2].replace(/\\+/g, ' '));\n    }\n  };\nvar irclickidQueryParam = utils.getQueryParamByName('irclickid');\nvar expiryDays = 15; //cookie expiry duration in days.\n((irclickidQueryParam && irclickidQueryParam.length > 0) ? utils.setCookie('_sdsat_irclickid', irclickidQueryParam, (expiryDays * 24 * 60)) : '');",language:"javascript"}}]},{id:"RL239ef4b926d94eaf9d2e1a2b021ed124",name:"Optimizely - Uversity",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:1}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com","nano-demos.com","nanodemos.com"]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"uversity\\/?",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return console.log("BLOCK OPTIMIZELY FLAG IS "+window.blockOptimizely),console.log("oneTrust cookie "+_satellite.getVar("oneTrustTargetingCookie")),!(-1!==document.URL.indexOf("disableOpt=1")||!_satellite.getVar("oneTrustTargetingCookie")||0!=window.blockOptimizely)||!!(-1===document.URL.indexOf("disableOpt=1")&&document.location.href.match(/chegg\.com\/uversity\/?$|chegg\.com\/uversity\/?\?/)||document.location.href.match(/chegg\.com\/uversity-home\/?$|chegg\.com\/uversity-home\/?\?/)||document.location.href.match(/chegg\.com\/uversity-home-info\/?$|chegg\.com\/uversity-home-info\/?\?/)||document.location.href.match(/cheggnet\.com\/uversity\/learn-more\/?$|chegg\.com\/uversity\/learn-more\/?$/)||document.location.href.match(/cheggnet\.com\/uversity\/?$|cheggnet\.com\/uversity\/?\?/)||document.location.href.match(/cheggnet\.com\/uversity-home\/?$|cheggnet\.com\/uversity-home\/?\?/)||document.location.href.match(/cheggnet\.com\/uversity-home-info\/?$|cheggnet\.com\/uversity-home-info\/?\?/))}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'<script src="https://cdn.optimizely.com/js/20513290011.js"></script>',language:"html"}}]},{id:"RL6fc4a6d181ae4e16b9571ef1a19ee9b8",name:"Chegg : Mathway Signup",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"pageName"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["mathway.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"contains",caseInsensitive:!0},leftOperand:"%pageName%",rightOperand:"user registered"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCcc25b6236cc34f0386f6cccd02052cb9-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC00f604d21b1343a790e0f06f57739248-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC8a15b253e29148a5980ffd1ddd7799cb-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL69a8ec2ad7a44d9796629d34e5d64fe3",name:"Pixels : TB CS Free Trial Order Confirmation",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagTBCS%",rightOperand:"true"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!0===_satellite.getVar("rm_cs_csp_trial")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCee79a19b110241928498762d7017b1b3-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC8486dd77b31944d7aebf7152d87f092b-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL84eff1f2182d445faae92409635e31ba",name:"Chegg :  Uversity Verification",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"pageName"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|uv|view uversity lead form confirmation"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC41f95bb923c64d84b449831dbf17788a-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC2d1d4538672d4752aafdbabcfd121028-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCb078079f04584fdcb9734924ec2a3c76-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC0b8bc95a551d4247962a572f13333760-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLaf6e5bbe524141f3b2aa9af7a7ae3fcc",name:"Pixels:Signup_Auth",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"cheggAnalyticsCookieEvt"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/subdomain.js",settings:{subdomains:[{value:"reader|test-prep|cms",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/(play|bettergrades|summer)\\/?",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCdea60c8b0edc4634980dc15995669494-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCaccfe169b34f4ef9acb21d9e54d7cbd3-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC9bbc24696d4d4ff8afd187126bb70c14-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC031481a708a2481fa57a8bbf9b274400-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3446257200a5469fb441113bc3731c81-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC8ea65b4cc54d44a78f77abee5fc78762-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCae4446641ca44fbab957010e516f59a2-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC8b4600e6c4b94f86903cd8ced6f3b523-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC8de5ccc6d3a1468080bedfe17d9539cc-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLf8ac08c1b66f47a9999aeb7cfe770683",name:"Chegg : Mathway Checkout",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"pageName"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["mathway.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"contains",caseInsensitive:!0},leftOperand:"%pageName%",rightOperand:"| Settings"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}},{
modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC47b6ed1c8c6d4ec8a7e650376c8fc34e-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL166ac6e805824d4a8598a4c35754561d",name:"Chegg : CS_CSP_Direct : Order Confirm Pixel",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return _satellite.logger.log("cs_csp_direct_paid value "+_satellite.getVar("cs_csp_direct_paid")),!0===_satellite.getVar("cs_csp_direct_paid")}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagCS%",rightOperand:"true"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC33b151de2bff416396cd165b5718b721-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCc749983111464aafa8c23c8337591d8a-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf103fea189b242579233ee376404f165-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCd36d69bb22424d348a786153833623c3-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC351c7d411fc944ab945288f360bf03c5-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf652ab97ba4f452f8b1aa9155ff803c4-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC58bc7bb9a0074784bc8e6d9a57a8e1dc-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC19a08debaa654a86b171d34896eb1a16-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCbc7572a0fdb349b5b2981b6653e7e2fc-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC8fdd5fde86cc4a8ab87e7058b794ff5c-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC16e4f22355324425b3605a68aacc409e-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC487f963c04fb4684bc0e7fb1ce653f7d-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCb8608823c80f42628851d96686d72008-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC0a5b0f804a2b4335ac3acdb3bfb94cd5-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC1125f3ab94df485086155436c83a26cf-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC0eef83f3e93e40e78b3b36a4f7df8f4d-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCbbda7ad989574980b3e99ae7eb7a87d7-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCa092b75fa1704e62b10175ee8f4ab6c1-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCb380263666714a58a1be552207bc8176-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC19a87fe282d54b59b996094afd6e1566-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC632e93b31e3642728ff1e329b8e1b1a1-source.min.js",language:"html",isExternal:!0}}]},{id:"RL4c785a4ed53f4350bd87c9b2e91e44c9",name:"CheggAnalyticsUtils",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'var utils = {\n    getDomainWithoutSubdomain : function() {\n        try {\n            var urlParts = window.location.hostname.split(\'.\');\n            return urlParts\n              .slice(0)\n              .slice(-(urlParts.length === 4 ? 3 : 2))\n              .join(\'.\');\n          } catch (error) {\n            return \'\';\n          }\n    },\n    setCookie : function (cname, cvalue, expmin) {\n      var domain = utils.getDomainWithoutSubdomain();\n      if (typeof expmin === \'undefined\')\n        document.cookie = cname + "=" + cvalue + "; path=/; secure; domain=" + domain;\n      else {\n        var date = new Date();\n        date.setTime(date.getTime() + (expmin * 60 * 1000));\n        var expires = "expires="+date.toUTCString();\n        document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/; secure; domain=" + domain;\n      }\n    },\n    removeCookie : function(name) {\n        var domain = utils.getDomainWithoutSubdomain();\n        document.cookie = name+\'=; path=/; domain=\'+domain+\'; expires=\' + new Date(0).toUTCString();\n    },\n    getCookie : function (name) {\n        if (document.cookie.indexOf(name) > -1) {\n            var cookieVal = document.cookie.split(name)[1].split("; ")[0].substr(1);\n            return cookieVal ? decodeURIComponent(cookieVal) : \'\';\n        } else {\n            return \'\';\n        }\n    }\n};\n\nfunction cheggAnalytics() {\n\n    this.__postTrackCallbacks = [];\n    this.triggerEvent = function(data) {\n        this.setCookie(data);\n        _satellite.logger.log("++++ CheggAnalytics Trigger Event  +++++ "+JSON.stringify(data));\n        var cheggAnalyticsEvents = JSON.stringify(data);\n        //Chegganalytics event cookie t() call\n        if (typeof cheggAnalyticsEvents !== \'undefined\' && cheggAnalyticsEvents !== \'\') {\n            var cheggAnalyticsJSON = JSON.parse(cheggAnalyticsEvents);\n            window.sObject = {};\n            cheggAnalyticsJSON.forEach(function (eachEvent) {\n                if(typeof eachEvent.profile !== \'undefined\' && typeof eachEvent.profile.encEmailAddress !== "undefined") {\n                    window.sObject.userSignUpData = eachEvent.profile.encEmailAddress+";"+eachEvent.profile.regSourceProduct+";"+eachEvent.profile.schoolType+";"+eachEvent.profile.userType+";"+eachEvent.profile.encUserId;\n                    window.sObject.newUserRegSource = eachEvent.profile.regSourceProduct  + ";" + eachEvent.profile.schoolType + ";" + eachEvent.profile.userType;\n                    _satellite.logger.log("++++ CheggAnalytics Profile Event  +++++" + window.sObject.userSignUpData + " " + window.sObject.newUserRegSource);\n                }\n            });\n        }\n    }\n    this.setCookie = function (data) {\n        if (_satellite.getVar("oneTrustPerformanceCookie")) {\n            var expiryMin = 1; //cookie expiry duration in mins.\n            var cookieData = JSON.stringify(data);\n            _satellite.logger.log("Setting the CheggAnalytics Cookies Data for Trigger Event: " + cookieData);\n            utils.setCookie(\'chegganalytics\', cookieData, expiryMin);\n            utils.setCookie(\'rio-chegganalytics\', cookieData);\n            utils.setCookie(\'pa-chegganalytics\', cookieData);\n        }\n    }\n    this.deleteCookie = function(cookieName) {\n        utils.removeCookie(cookieName)\n    }\n    this.readCookie = function(cookie) {\n        return utils.getCookie(cookie);\n    }\n   \n    this.registerCallback = function(callback) {\n      _satellite.logger.log(\'==========  register callback \' + callback);\n      callback();\n    }\n  \n    this.getAVIDFromCookie = function() {\n        v_c = "AMCV_3FE7CBC1556605A77F000101%40AdobeOrg";\n        try {\n        c_v = utils.getCookie(decodeURIComponent(v_c)); \n        if (typeof c_v != "undefined" && c_v != "")\n            return c_v.split(\'|\')[6];\n        else\n            return \'\';\n        }\n        catch (e) {\n            console.log(\'Exception from reading visitor id from cookie\' + e);\n        }\n    }\n}\n  \n  //Initialize cheggAnalyticsUtils\nwindow.cheggAnalyticsUtils = new cheggAnalytics();',language:"javascript"}}]},{id:"RLdb8c57987b11497dbd5f63af00ffd356",name:"Braze - purchased",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel"}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return _satellite.logger.log("cs_csp_direct_paid value "+_satellite.getVar("cs_csp_direct_paid")),!0===_satellite.getVar("cs_csp_direct_paid")}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagCS%",rightOperand:"true"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC952bc9c5c721490b88d7fe016bc9319b-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLcbe63887440b43a292797a99a9226210",name:"Pixels: Recaptcha",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%pageName%",rightOperand:"\\|recaptcha"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3403e11ec73f4eb0b21b1e3228c692b9-source.min.js",language:"html",isExternal:!0}}]},{id:"RL07b61bc8094948b7958aa640b472783b",name:"Pixels : Chegg Search All",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if(document.URL.match(/\/search\/?.+/))return!0}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC1f80e158226548c1840d5d70fe6ec418-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLc50b232c8c784800b111764e109f5876",name:"Adobe Analytics S Object",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:1},{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:1}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var utils = {\n    getDomainWithoutSubdomain : function() {\n        try {\n            var urlParts = window.location.hostname.split('.');\n            return urlParts\n              .slice(0)\n              .slice(-(urlParts.length === 4 ? 3 : 2))\n              .join('.');\n          } catch (error) {\n            return '';\n          }\n    },\n    setCookie : function (cname, cvalue, expday) {\n      var domain = utils.getDomainWithoutSubdomain();\n      if (typeof expday === 'undefined')\n        document.cookie = cname + \"=\" + cvalue + \"; path=/; secure; domain=\" + domain;\n      else {\n        var date = new Date();\n        date.setTime(date.getTime() + (expday * 24 * 60 * 60 * 1000));\n        var expires = \"expires=\"+date.toUTCString();\n        document.cookie = cname + \"=\" + cvalue + \"; \" + expires + \"; path=/; secure; domain=\" + domain;\n      }\n    },\n    removeCookie : function(name) {\n        var domain = utils.getDomainWithoutSubdomain();\n        document.cookie = name+'=; path=/; domain='+domain+'; expires=' + new Date(0).toUTCString();\n    },\n    getCookie : function (name) {\n        if (document.cookie.indexOf(name) > -1) {\n            const value = '; '+document.cookie;\n            const parts = value.split('; '+name+'=');\n            if (parts.length === 2) return decodeURIComponent(parts.pop().split(';').shift());\n        } else {\n            return '';\n        }\n    },\n    customAdobeCallbackFunction : function(callbackFunction) {\n        _satellite.logger.log(\"### Custom analytics RegisterPostTrackCallback/RegisterPreTrackCallback function ###\")\n        if (\"function\" === typeof callbackFunction) {\n            callbackFunction();\n        }\n    },\n    getQueryParam : function(name, url = window.location.href) {\n        name = name.replace(/[\\[\\]]/g, '\\\\$&');\n        var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),\n            results = regex.exec(url);\n        if (!results) return null;\n        if (!results[2]) return '';\n        return decodeURIComponent(results[2].replace(/\\+/g, ' '));\n    }\n};\n\n// Common S Object utilities required for failsafe deployment.\nwindow.s = window.s || {};\nwindow.s.Util = window.s.Util || {};\nwindow.s.analyticsCookie = window.s.analyticsCookie || 'chegganalytics';\nwindow.s.Util.cookieRead = window.s.cookieRead = window.s.cookieRead || utils.getCookie;\nwindow.s.Util.cookieWrite = window.s.cookieWrite = window.s.cookieWrite || utils.setCookie;\nwindow.s.Util.cookieRemove = window.s.cookieRemove = utils.removeCookie;\nwindow.s.Util.getQueryParam = window.s.Util.getQueryParam || utils.getQueryParam;\nwindow.s.registerPostTrackCallback = window.s.registerPostTrackCallback || utils.customAdobeCallbackFunction;\nwindow.s.registerPreTrackCallback = window.s.registerPreTrackCallback || utils.customAdobeCallbackFunction;",language:"javascript"}}]},{id:"RL0043e7a5b81f4aaf847c168e15007d04",name:"Kaltura Video Integration",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com","chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC2dbb23bfde2c4c2fa62af6737d8d4ccb-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL46b1d602310a49d9894dd53a42ce658a",name:"Medallia pixel - Signed out Q&A (Cheggnet)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"\\/homework-help\\/questions-and-answers\\/",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return void 0!==_satellite.getVar("authState")&&"logged out"===_satellite.getVar("authState").toLowerCase()}}},{modulePath:"core/src/lib/conditions/queryStringParameter.js",settings:{name:"medallia",value:"true"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC17ac878b76ac423baee5ccb89c6142bc-source.min.js",language:"html",isExternal:!0}}]},{id:"RL85c86780b0fa4e1d823b332c886c8e72",name:"Chegg :  RM Order Confirmation",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"buybackorderconfirmpixel",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!0===_satellite.getVar("rmOrder")}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagTBOnly%",rightOperand:"true"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC5f62064aba5c406f8e43783eb6d28fe4-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC96d845583315450e8c45624926518f5a-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC6fdb663b010a4a00a4bce9b72c55ed67-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCa21667f30588485f92729f4a12a68288-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCce41c626ca984666bd152150b9df0b17-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCb41050a10cb34731a2013c6444986183-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCa565917c6a39476383a2c1afcaa64e05-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLc704b55e58da49ef9a96292cdcd8b1ca",name:"contentsession",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"contentsquare_uxa"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com","chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC571206b4256241a682849ae38db162b7-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL1317313814d94296bd82fa341524b742",name:"Pixels: Perimeter X (Prod)",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}},{modulePath:"core/src/lib/conditions/subdomain.js",settings:{subdomains:[{value:"test-prep",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/(bettergrades|summer)\\/?",valueIsRegex:!0}]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"function getCookie(c_name) {\n  var i,x,y,ARRcookies=document.cookie.split(\";\");\n  for (i=0;i<ARRcookies.length;i++) {\n    x=ARRcookies[i].substr(0,ARRcookies[i].indexOf(\"=\"));\n    y=ARRcookies[i].substr(ARRcookies[i].indexOf(\"=\")+1);\n    x=x.replace(/^\\s+|\\s+$/g,\"\");\n    if (x==c_name) {\n      return unescape(y);\n    }\n  }\n};\n(function(){ \n//do not execute if running inside embedded browser;\nif(!!window.KERMIT_PARAMS && window.KERMIT_PARAMS.is_in_app) {\n  return ;\n} else {\n    window._pxAppId ='PXzYvFOXaC';\n    window.PXzYvFOXaC_asyncInit = function (px) {\n        px.Events.on('score', function (score, kind) {\n            window.digitalData.page.pageInfo.attributes = window.digitalData.page.pageInfo.attributes || {};\n            window.digitalData.page.pageInfo.attributes.hashperbs = score;\n            window.digitalData.perimeterxScore = Number(score);\n        });\n    };\n    // Custom parameters\n    window._pxParam1 = getCookie('V');\n    var p = document.getElementsByTagName('script')[0],\n        script = document.createElement('script');\n    script.async = 1;\n    script.src = '//client.perimeterx.net/PXzYvFOXaC/main.min.js';\n    p.parentNode.insertBefore(script,p);\n}\n})();\n\n",language:"javascript"}}]},{id:"RL2097e0cab9a2436ea32af340bc805e3b",name:"Pixels : Chegg Study Q&A Page",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"chegg|web|cs|qa|question page"===_satellite.getVar("pageName")||"chegg|web|cs|qa|hcv suspended exam answer no similar questions modal"===_satellite.getVar("pageName")}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCe222f6df21604a6e87e28d2940e947ea-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL0b28abdd08ee444c918ed8b100dbe2ff",name:"Uversity Verify",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50},{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"pageName"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com","chegg.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"chegg|web|core|verify email"===_satellite.getVar("pageName")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3ef0151dace0452b81f5767f6a41c87c-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL789bd00c4417478d9f42442433659946",name:"Chegg Study: Landing Pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if(document.location.pathname.match(/study\/$|study$|study-pack\/$|study-pack$/))return!0}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC817c2e0f5cb44126b0ca1acc0acc0792-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLd8a08145468647a694c96478683eadf3",name:"Chegg Study: All Pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if("chegg|web|cs"==_satellite.getVar("subCategory2")||document.location.pathname.match(/\/study\/?.+/))return!0}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCed6f5b5b43f24c50bc6f7fbf098d2789-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC32d86688b6b04193beb11e17b7a918d0-source.min.js",language:"html",isExternal:!0}}]},{id:"RL1c1361abd4c24e4a8ebed360f74beb7e",name:"Satellite PageBottom",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com","chegg.com","mathway.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var nativePageBottomFunction = _satellite.pageBottom;\n_satellite.pageBottom = function(name, data) {\n  console.log('### Adobe Launch Page Bottom Overriden function called, No action will be performed ####');\n}",language:"javascript"}}]},{id:"RL3fc7a2c4e84d4525af83dda9ebd8038a",name:"Pixels : Textbook Cart",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|tb|tb shopping cart"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC42a06ef35d894f49a096ddf89886777d-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC524fb0108a5f44b3aeb0ed2bdf2cc6cc-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCd44a004ac4494d5c8f01b8a609d131d7-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL610b93025edc4a1d94fb718888cd2ae3",name:"Chegg : MT -  Rio Wrapper - Test",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"try{\n  var ele = document.createElement('script');\n  ele.setAttribute('src', 'https://rio.cdn.chegg.com/digital-data-rio-wrapper/rio-mt-wrapper-v7.js');\n  ele.async = 'true';\n  document.body.appendChild(ele);\n\n} catch(e){_satellite.notify('RIO MT Wrapper Error ->',e);}",language:"javascript"}}]},{id:"RL4d47032ac72a43db9951521cc9c67d89",name:"Pixels: All Pages (Performance Tags - Prod)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/subdomain.js",settings:{subdomains:[{value:"reader|test-prep|cms",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"\\/(play|bettergrades|summer|study|test-prep)\\/?",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustPerformanceCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3c8378acff3a4c298d9d83e315c8e1d5-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCbe554358486d4cc5a9f9116a60d46fce-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL5f8679608e064dcf80bddc175dd01e93",name:"Chegg Study : Checkout Page",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"placeorder\\?productType=CHEGG_STUDY&checkoutFlowType=",valueIsRegex:!0},{value:"placeorder\\?productType=BUNDLE&checkoutFlowType=",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC77d07b6a6db14e64b7bc5598881f5bb1-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC9b3edbe4d85c4ded9e6348f6a75558fe-source.min.js",language:"html",isExternal:!0}}]},{id:"RL0892fd14d2ba421d82870a55d1103bbe",name:"Medallia pixel - Cheggnet",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"\\/auth\\/\\?type=simplifiedstudy&action=signup",valueIsRegex:!0},{value:"\\/placeorder\\?productType=CHEGG_STUDY",valueIsRegex:!0},{value:"\\/placeorder\\?productType=BUNDLE",valueIsRegex:!0},{value:"\\/cspofferinterstitial\\/ib",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/queryStringParameter.js",settings:{name:"medallia",value:"true"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){
return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC82a0cccfa7c74d1493fe096783f56e93-source.min.js",language:"html",isExternal:!0}}]},{id:"RL3f606e10e9ec4c118fe73f7679fdf484",name:"SOHP GTM ",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%authState%",rightOperand:"Logged Out$|Soft-loggedin$"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|cw|home page"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCa412ea2233e045cf9c44b10f20e3570c-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLf8fab6a3acff457a843ab075fcaf0119",name:"Chegg : Verizon Order Confirm Pixel ",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagCS%",rightOperand:"true"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC332a5e723a99482a9b0cf5849b1b16c6-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL913ac8fab3804df0b1c88429a59a0db1",name:"Chegg :  Chegg Writing Order Confirmation",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"transactionID"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/subdomain.js",settings:{subdomains:[{value:"writing",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3ed0d140604d48eab6b6da6b93dae9f3-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL4ea2251c8dd0417f8efc804e4737fca4",name:"Chegg Study: All Pages (snapchat_only)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if("chegg|web|cs"==_satellite.getVar("subCategory2")||document.location.pathname.match(/\/study\/?.+/))return!0}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCcede99cade304c1294f0d3e8af14959f-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL63db468d4c264381b0a9c3a77eb528f0",name:"Chegg : Digital Data Rio Wrapper",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(){return"playground"!==_satellite.getVar("subDomain")&&"writing-playground"!==_satellite.getVar("subDomain")&&!window.location.href.includes("cheggnet")&&!window.location.href.includes("outcomesccmdev.wpengine.com")}try{if(!window.location.href.includes("omit-ddrw")&&!window.location.href.includes("debug-ddrw-bundle")&&e())return!0}catch(e){}return!1}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'\n  window.__DDRW_ENABLE_SENTRY__ = false;\n  window._DDRW_USE_V2_ANALYTICS_AGENT = true;\n\n  var js = document.createElement("script");\n\n  js.type = "text/javascript";\n  js.src = \'https://rio.cdn.chegg.com/digital-data-rio-wrapper/ddrw-v2.11.11.js\';\n  js.async = true;\n\n  document.head.appendChild(js);\n\n',language:"javascript"}}]},{id:"RLff0b7ffb625043479f59129aa2005425",name:"Chegg : Study & Homework Help - All Pages (Prod Domain)",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"(\\/study.*)|(homework\\-help.*)",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var cookieUtil = {\n  set : function (cname, cvalue, expmin) {\n    var getDomainWithoutSubdomain = function() {\n      try {\n        var urlParts = window.location.hostname.split('.');\n        return urlParts\n          .slice(0)\n          .slice(-(urlParts.length === 4 ? 3 : 2))\n          .join('.');\n      } catch (error) {\n        return '';\n      }\n    };\n    var domain = getDomainWithoutSubdomain();\n    if (typeof expmin === 'undefined')\n      document.cookie = cname + \"=\" + cvalue + \"; path=/; secure; domain=\" + domain;\n    else {\n      var date = new Date();\n      date.setTime(date.getTime() + (expmin * 60 * 1000));\n      var expires = \"expires=\"+date.toUTCString();\n      document.cookie = cname + \"=\" + cvalue + \"; \" + expires + \"; path=/; secure; domain=\" + domain;\n    }\n  },\n  get : function (name) {\n    if (document.cookie.indexOf(name) > -1) {\n      return document.cookie.split(name)[1].split(\"; \")[0].substr(1);\n    } else {\n      return '';\n    }\n  }\n};\n\nvar uuidUtil = {\n  httpRequest: function(method, url, isAsync, formData) {\n    var xhr = new XMLHttpRequest();\n    var isAsync = isAsync || false; // defaults to synchronous.\n    xhr.open(method, url, isAsync);\n    xhr.setRequestHeader('Content-type', 'application/json; charset=utf-8');\n    formData ? xhr.send(JSON.stringify(formData)) : xhr.send();\n    return xhr\n  },\n  uuidv4: function() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n      var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);\n      return v.toString(16);\n    });\n  }\n};\n\nvar processCheggVisitorID = function(cvid_endpoint) {\n  // get the cvid, mcid cookie value from domain cookies\n  var domain_cvid = cookieUtil.get('CVID'), domain_mcid = cookieUtil.get('mcid');\n  var cvid = undefined;\n  var cvid_url = cvid_endpoint+'?domain_cvid='+domain_cvid+'&domain_mcid='+domain_mcid;\n  var response = uuidUtil.httpRequest('GET', cvid_url, false);\n  if (response.status === 200 && response.responseText.indexOf('cvid') > 0) {\n    cvid = JSON.parse(response.responseText)['cvid'];\n  } else {\n    cvid = domain_cvid ? domain_cvid : (domain_mcid ? domain_mcid : (uuidUtil.uuidv4())); // fallback to get the domain level chegg user ID.\n  }\n  cookieUtil.set('CVID', cvid);\n  return cvid;\n};\n\nvar processCheggSessionID = function(csid_endpoint) {\n  // get the chegg session ID cookie value from domain cookies.\n  var domain_csid = cookieUtil.get('CSID');\n  var domain_cvid = cookieUtil.get('CVID');\n  var csid = undefined;\n  var csid_url = csid_endpoint;\n  if (!domain_csid) {\n    var response = uuidUtil.httpRequest('POST', csid_url, false, {cvid: domain_cvid, domainCsid: new Date().getTime()});\n    if (response.status === 200 && response.responseText.indexOf('csid') > 0) {\n      csid = JSON.parse(response.responseText)['csid'];\n      cookieUtil.set('CSID', parseInt(csid), 30);\n    }\n  } else {\n    var response = uuidUtil.httpRequest('POST', csid_url, true, {cvid: domain_cvid, domainCsid: parseInt(domain_csid)});\n    response.onload = function() {\n      csid = JSON.parse(response.responseText)['csid'];\n      if (csid) // when the service successfully returns the CSID.\n        cookieUtil.set('CSID', parseInt(csid), 30);\n      else // when the service fails to return the CSID.\n        cookieUtil.set('CSID', parseInt(domain_csid), 30);\n    };\n  }\n  return parseInt(cookieUtil.get('CSID'));\n}\n\n\nwindow.rio = {\n\n  /**\n   * Logs an event in Rio.\n   *\n   * @param argEventSource (string) - Event source (e.g. 'web.math_solver').\n   * @param argEventTitle (string) - Event title (e.g. 'math_input_go').\n   * @param argEventVersion (string) - Event version (e.g. '1.0.0').\n   * @param argEventPayload (object) - Event payload (data to log).\n   * @param argAdobePageName (string) - Adobe page name (e.g. 'homepage').\n   * @param callback (function) - Optional. Callback to fire after log event is complete.\n   */\n  logEvent: function(argEventSource, argEventTitle, argEventVersion, argEventPayload, argAdobePageName, callback){\n    var eventSource = argEventSource || '';\n    var eventTitle = argEventTitle || '';\n    var eventVersion = argEventVersion || '';\n    var eventPayload = argEventPayload || {};\n    var adobePageName = argAdobePageName || '';\n\n    var eventSourceStartsWithSlash = (eventSource.length > 0 && eventSource[0] === \"/\");\n    var isV2 = eventSourceStartsWithSlash;\n    var url = 'https://analytics.chegg.com/rio-service-web/rest/rio-events';\n\n    // Get user uuid and auth state from browser cookie\n    var cookie = document.cookie ? document.cookie.split(';') : [];\n    var authStateCookie = cookie.find(function(cookieItem){\n      return cookieItem.trim().indexOf('_sdsat_authState=') > -1;\n    });\n    var authState = authStateCookie ? authStateCookie.trim().replace('_sdsat_authState=', '') : '';\n\n    // fetch and update Chegg visitor ID from CVID service using GET method.\n    var cvid_endpoint = 'https://analytics.chegg.com/visitor-session-id-service/web/cvid';\n    var cvid = processCheggVisitorID(cvid_endpoint);\n\n    // fetch and update Chegg session ID from CSID service using POST method.\n    var csid_endpoint = 'https://analytics.chegg.com/visitor-session-id-service/web/csid';\n    var csid = processCheggSessionID(csid_endpoint);\n\n    var data;\n\n    if(isV2) {\n      data = {\n        cloud_events_version: \"0.1\",\n        event_type: eventTitle,\n        event_type_version: eventVersion,\n        source: eventSource,\n        data: eventPayload,\n        extensions: {\n          client_common: {\n            page_name: adobePageName,\n            referral_url: document.referrer || '',\n            url: window.location.href,\n            auth_state: authState.toLowerCase().split(' ').join('_'),\n            chegg_visitor_id: cvid,\n            chegg_session_id: csid\n          }\n        }\n      };\n    } else {\n      data = {\n        event_metadata: {\n          event_title: eventTitle,\n          event_version: eventVersion,\n        },\n        session_data: {\n          adobe_pagename: adobePageName,\n          referral_url: document.referrer || '',\n          auth_state: authState.toLowerCase().split(' ').join('_'),\n          event_source: eventSource\n        },\n        event_payload: eventPayload\n      };\n    }\n\n    // @TODO: Set content type\n    // The default content type is application/x-www-form-urlencoded.\n    // Ideally the API should only accept application/json which throws CORS error as of now as correct headers are not set.\n    // Update the content-type as required.\n    $.ajax({\n      method: 'POST',\n      url: url,\n      contentType:'application/json',\n      data: JSON.stringify(data),\n      xhrFields: {\n        withCredentials: true\n      },\n      error: function(error){\n        console.log(\"Error logging event in Rio:\", JSON.stringify(data), error);\n      },\n      complete: function(){\n        if(callback){\n          callback();\n        }\n      }\n    });\n  }\n};",language:"javascript"}}]},{id:"RL848375d6109b4f85aed57646f4894a5b",name:"Medallia pixel - Signed out Q&A",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"\\/homework-help\\/questions-and-answers\\/",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return void 0!==_satellite.getVar("authState")&&"logged out"===_satellite.getVar("authState").toLowerCase()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf20e2d731c1440d484e4477c76ce5c76-source.min.js",language:"html",isExternal:!0}}]},{id:"RL10c4314f6b504b308bbfdfd8166a9053",name:"Writing dashboard",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com","chegg.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"/writing/dashboard",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC78f95193bfdf49bda1082992d7360e1d-source.min.js",language:"html",isExternal:!0}}]},{id:"RLa8d14fd43bed460da984304d761133fb",name:"mpixelOptInApproved",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"oneTrustTargetingCookie"},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC326195880b6f400c8afea077e123b464-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL4b20e95afd234a2dae4b5b9956e692ad",name:"Forsta pixel",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"\\/placeorder\\?",valueIsRegex:!0},{value:"\\/cspofferinterstitial\\/ib",valueIsRegex:!0},{value:"\\/order-confirm\\?",valueIsRegex:!0},{value:"\\/auth\\??",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCa6cfbcd8d3124012bd233ba30bb38a81-source.min.js",language:"html",isExternal:!0}}]},{id:"RL61497d2a13a844d180b1d931b76b9c3a",name:"Consent_OneTrust Banner - Test [staging]",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=new URL(window.location.href).searchParams.get("oneTrust");if(("dev"==window.location.href.split(".")[2]||"trunk"==_satellite.getVar("subDomain")||"release"==_satellite.getVar("subDomain")||"rc"==_satellite.getVar("subDomain")||"smoking"==_satellite.getVar("subDomain")||"stageip"==_satellite.getVar("subDomain"))&&"true"===e)return!0}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"production"!=_satellite.buildInfo.environment}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"  type="text/javascript" charset="UTF-8" data-domain-script="562d20a1-3c9d-4656-aa1f-300bf8baa4fc-test"></script>\n<script type="text/javascript">\nfunction OptanonWrapper() { }\n</script>',language:"html"}}]},{id:"RL4670d9300bd2482684b746e31ad76069",name:"Chegg : 3B_Swap: Order Confirm Pixel",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"3b_swap"===_satellite.getVar("productFormat").toLowerCase()}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagCS%",rightOperand:"true"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCe71739fcdf4f458bb0a74818e6167db3-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC42f3f5d8958547fcb65f8a4638e298af-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCfcc89fedd97b4a6798bbabbf6e9d9097-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCff016b02afd4481b827618474bc56303-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCc4ef08ae29f74212b36c756dca911ae5-source.min.js",language:"html",isExternal:!0}}]},{id:"RL6f3637f6d53f4ea5be8fc144f984f6c8",name:"Chegg : 3B_Signup : Order Confirm Pixel",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"3b_signup"===_satellite.getVar("productFormat").toLowerCase()}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagCS%",rightOperand:"true"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf5e1a1d4bed14e0c84d78bad755209c7-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC9c1a911011104037ba6a11420ca422d4-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3b67eaf6698245e9a079b1e74fac8224-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3d729379041b422d8efb0bed1e817065-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC29d07decf0ae47a5b20aad0526f5cdff-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC774e8b0bcf3b489ebc827249561f2e72-source.min.js",language:"html",isExternal:!0}}]},{id:"RL852ef6d49d0c4f29b8c44ba12a6bb84e",name:"Pixels: Perimeter X (Test)",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"function getCookie(c_name) {\n  var i,x,y,ARRcookies=document.cookie.split(\";\");\n  for (i=0;i<ARRcookies.length;i++) {\n    x=ARRcookies[i].substr(0,ARRcookies[i].indexOf(\"=\"));\n    y=ARRcookies[i].substr(ARRcookies[i].indexOf(\"=\")+1);\n    x=x.replace(/^\\s+|\\s+$/g,\"\");\n    if (x==c_name) {\n      return unescape(y);\n    }\n  }\n};\n\n(function(){ \n//do not execute if running inside embedded browser;\nif(!!window.KERMIT_PARAMS && window.KERMIT_PARAMS.is_in_app) {\n  return ;\n} else {\n    window._pxAppId ='PX7sZ6Hw9L';\n    window.PX7sZ6Hw9L_asyncInit = function (px) {\n        px.Events.on('score', function (score, kind) {\n            window.digitalData.page.pageInfo.attributes = window.digitalData.page.pageInfo.attributes || {};\n            window.digitalData.page.pageInfo.attributes.hashperbs = score;\n        });\n    };\n\n    window._pxParam1 = getCookie('V');\n    console.log(\"pxParam1 = \" + window._pxParam1);\n    var p = document.getElementsByTagName('script')[0],\n    s = document.createElement('script');\n    s.async = 1;\n    s.src = '//client.perimeterx.net/PX7sZ6Hw9L/main.min.js';\n    p.parentNode.insertBefore(s,p);\n}\n})();\n",language:"javascript"}}]},{id:"RL9621c41e7d9b40f38ca1d6bb82942a30",name:"Pixels : Textbooks : Order Confirmation",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"orderconfirmpixel",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!0===_satellite.getVar("orderHasRentalItems")||!0===_satellite.getVar("orderHasSellItems")}}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%marketingPixelFlagTB%",rightOperand:"true"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%oneTrustPerformanceCookie%",rightOperand:"true"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCd4eeecdd21dc45989f5cf53a2d9feb96-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL1a6d7bd78f3a4ad4b10cf0db4c44572c",name:"Chegg : CS : Home Page",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|cs|chegg study homepage"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3add9bbc33bf4705842126f61721ca76-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL134a1737437347c88854e3702abe84c7",name:"Chegg : MT -  Rio Wrapper - Prod",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"try{\n  var ele = document.createElement('script');\n  ele.setAttribute('src', 'https://rio.cdn.chegg.com/digital-data-rio-wrapper/rio-mt-wrapper-v10.js');\n  ele.async = 'true';\n  document.body.appendChild(ele);\n\n} catch(e){_satellite.notify('RIO MT Wrapper Error -> ',e);}",language:"javascript"}}]},{id:"RL4e200f16cb614f57a9efd325c542b489",name:"Chegg : Home Page Only",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|core|home page"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC1a42c1c0fe9b4b63a795a909bf5f909b-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL295f816329834b15ab171c8ccabfce41",name:"OptinMonster",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com","chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'<!-- This site is converting visitors into subscribers and customers with OptinMonster - https://optinmonster.com -->\n<script type="text/javascript" src="https://a.omappapi.com/app/js/api.min.js" data-account="78489" data-user="69834" async></script>\n<!-- / https://optinmonster.com -->',language:"html"}}]},{id:"RLb91250a511d84dcfadf9f7cfae8c2365",name:"OneTrust Banner - Prod",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"  type="text/javascript" charset="UTF-8" data-domain-script="562d20a1-3c9d-4656-aa1f-300bf8baa4fc"></script>\n<script src="https://cdn.cookielaw.org/opt-out/otCCPAiab.js" type="text/javascript" charset="UTF-8" ccpa-opt-out-ids="trg,SPD_BG" ccpa-opt-out-geo="all" ccpa-opt-out-lspa="true"></script>\n<script type="text/javascript">\nfunction OptanonWrapper() { }\n</script>\n<!-- OneTrust Cookies Consent Notice end -->\n',language:"html"}}]},{id:"RL43a8d0352a8845188360f9e628232c94",name:"Optimizely - Chegg Writing Only",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:1}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com","nano-demos.com","nanodemos.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!!(-1===document.URL.indexOf("disableOpt=1")&&_satellite.getVar("oneTrustTargetingCookie")&&document.URL.indexOf("cheggnet.com")>-1||document.URL.indexOf("chegg.com/sell-textbooks")>-1||document.URL.indexOf("chegg.com/textbooks")>-1||document.location.href.match(/chegg\.com\/study\/?$|chegg\.com\/study\/?\?/)||document.location.href.match(/chegg\.com\/study-pack\/?$|chegg\.com\/study-pack\/?\?/)||document.URL.indexOf("chegg.com/shoppingcart")>-1||document.URL.indexOf("chegg.com/checkoutinterstitial")>-1||document.location.href.match(/chegg\.com\/tutors\/?$|chegg\.com\/tutors\/?\?/)||document.location.href.match(/chegg\.com\/tutors\/pricing\/?$|chegg\.com\/tutors\/pricing\/?\?/)||document.location.href.match(/chegg\.com\/books\/?$|chegg\.com\/books\/?\?/)||-1!==document.location.pathname.indexOf("/contactus")||-1!==document.URL.indexOf("help.chegg.com")||-1!==document.URL.indexOf("nanodemos.com")||-1!==document.URL.indexOf("nano-demos.com")||document.URL.indexOf("chegg.com/math-solver")>-1||document.URL.indexOf("chegg.com/auth?action=login&type=rm")>-1||document.URL.indexOf("chegg.com/checkout/sp/?checkoutFlowType=MIXED")>-1||document.URL.indexOf("chegg.com/returnbooks/label")>-1||document.URL.indexOf("chegg.com//guidedsolutions")>-1||document.URL.indexOf("chegg.com/writing")>-1||document.URL.indexOf("chegg.com/flashcards")>-1||document.URL.indexOf("chegg.com/csorderconfirm")>-1||document.URL.indexOf("chegg.com/csorderconfirm/csbundle")>-1||document.URL.indexOf("chegg.com/checkout/orderconfirm")>-1||document.URL.indexOf("chegg.com/orderconfirmpixel")>-1||document.URL.indexOf("chegg.com/occp")>-1||document.URL.indexOf("chegg.com/checkout/confirm")>-1||document.URL.indexOf("chegg.com/digitalperk")>-1||document.URL.indexOf("/privacypolicy")>-1||document.URL.indexOf("/subsidiaries-and-websites")>-1||document.URL.indexOf("/cspofferinterstitial/ap")>-1||document.URL.toLowerCase().indexOf("chegg.com/etextbooks")>-1||document.URL.indexOf("chegg.com/checkoutmobilepromo/")>-1||document.URL.indexOf("/returnbooks")>-1||document.URL.indexOf("chegg.com/my")>-1||document.URL.match(/chegg\.com\/?$|chegg.com\/?\?/g)||document.URL.toLowerCase().indexOf("chegg.com/cspofferinterstitial/ib")>-1||document.URL.toLowerCase().indexOf("chegg.com/csorderconfirm/csplive")>-1||document.URL.indexOf("/guidedsolutions")>-1||document.URL.indexOf("chegg.com/auth")>-1||document.URL.indexOf("chegg.com/honorcode/investigation-request")>-1||document.URL.indexOf("chegg.com/copyright/takedown-request")>-1||document.location.href.match(/chegg\.com\/honorcode\/?$|chegg\.com\/honorcode\/?\?/)||document.location.href.match(/chegg\.com\/copyright\/?$|chegg\.com\/copyright\/?\?/))}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return document.URL.indexOf("chegg.com/writing")>-1||document.URL.indexOf("cheggnet.com/writing")>-1}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'<script src="https://cdn.optimizely.com/js/17132650691.js"></script>',language:"html"}}]},{id:"RL5cf9bd9e25944fb98995270a75f4b363",name:"Pixels : Test Prep (Prod)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%subCategory3%",rightOperand:"chegg\\|web\\|tp"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC52befb5fc0e043ad8fecd368002d3077-source.min.js",language:"html",isExternal:!0}}]},{id:"RL578f5dceab3642b496e5bf68cd6c0f49",name:"Facebook pixel - Summer, Bettergrade and Play",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/(play|bettergrades|summer)\\/?",valueIsRegex:!0}]}},{
modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC9fc90be8fa2541028312956ca9ee1f04-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLac7f163ca7054aecb4f02b3a25225dc0",name:"ClickTale",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=_satellite.getVar("maxmindCountry");if((e.match(/australia|canada|united\sstates|united\skingdom|ireland|korea\,\srepublic\sof|united\sarab\semirates|puerto\srico|china|singapore|mexico/gi)||!e||1==_satellite.getVar("clickTaleOverride")||-1!==_satellite.getVar("pageName").indexOf("chegg|web|tp"))&&-1==navigator.userAgent.indexOf("Googlebot"))return!0}}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/(bettergrades|summer)\\/?",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustPerformanceCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC2059ebefeb3745dcb985ec13ad635a44-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL22d0c3c6800d41f989b64af5d03dcd2e",name:"Chegg : DD Test Rio Wrapper (CheggNet)",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:2}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(){return"playground"!==_satellite.getVar("subDomain")&&"writing-playground"!==_satellite.getVar("subDomain")&&!window.location.href.includes("cheggnet")&&!window.location.href.includes("outcomesccmdev.wpengine.com")}try{if(!(window.location.href.includes("omit-ddrw")||window.location.href.includes("debug-ddrw-bundle")||window.location.href.includes("debug-ddrw-build")||e()))return!0}catch(e){}return!1}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'\n  window.__DDRW_STAGING__ = true;\n  window._DDRW_USE_V2_ANALYTICS_AGENT = true;\n\n\n  var js = document.createElement("script");\n\n  js.type = "text/javascript";\n  js.src = \'https://rio.cdn.chegg.com/digital-data-rio-wrapper/ddrw-v2.11.11-staging-7aba71d619cf98570e3e.js\';\n  js.async = true;\n\n  document.head.appendChild(js);\n',language:"javascript"}}]},{id:"RL70996bf1894d44099b4bef946492169e",name:"Live Person - Cheggnet Domain",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com","nano-demos.com","nanodemos.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!_satellite.getVar("inNativeApp")}}},{modulePath:"core/src/lib/conditions/subdomain.js",settings:{subdomains:[{value:"help",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/(bettergrades|summer)\\/?",valueIsRegex:!0}]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC5da9d7b20f7145f19f3b4974e0212042-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCac777759ba524e8fb1ea1efd4122fad2-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC7c79e2c617394bbcb412e92ae50a488a-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCcb7de640958b4c8fbf393c77a8cf9472-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLb1b345933cc647328ba70a8ff38c2a8f",name:"Braze ",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50},{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"pageNameDetailed"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com","chegg.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=_satellite.getVar("authState");return void 0!==e&&"logged out"!==e.toString().toLowerCase().trim()&&"authentication status unknown"!=e.toString().toLowerCase().trim()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=_satellite.getVar("cheggUserUUID");return null!=e&&""!=e&&""!=e.toString().trim()}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCbf78b66bcfa14aa494ef33a1695c0e81-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCe21659a490544e8db25f76096df1c7b7-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!1,source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC01e4e66827574166b1858aba810faa65-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCcc76a23dd2f44271904883e00fa94a85-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!1,source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC51d426ad2be74a5197644505a24f18db-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCaf75df20aebf489384cb257ab42807e4-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLf6b57c32998e4a9a904b31fe2afd502c",name:"Pixels: Test Prep Order Confirmation",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|tp|tp order confirmation pixel"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC9d16469d7a624d8892318166d0cbd17a-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCe0e61e395de74c88bf86191c78c0edfe-source.min.js",language:"html",isExternal:!0}}]},{id:"RLf69eb84b93bf4b828289235f387be59d",name:"Pixels: AdWords",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=_satellite.getVar("inNativeApp");return!(e&&"no"!=e||navigator.userAgent.indexOf("Googlebot")>0)}}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/(bettergrades|summer)\\/?",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCdadfc89e233f4b858002659bb0e5b50e-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL5c98d310e02749d3acbb8c356dafd28e",name:"Optimizely - Non Chegg Writing",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:1}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com","nano-demos.com","nanodemos.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return _satellite.logger.log("Block optimizelyflag from window variable "+window.blockOptimizely),_satellite.getVar("oneTrustTargetingCookie")&&null!=window.blockOptimizely&&!window.blockOptimizely?(_satellite.logger.log("Do not block optimizely page"+window.blockOptimizely),!0):_satellite.getVar("oneTrustTargetingCookie")&&null!=window.blockOptimizely&&window.blockOptimizely?(_satellite.logger.log("Blocking  optimizely based on blockOptimizely flag from window object"+window.blockOptimizely),!1):document.URL.indexOf("disableOpt=1")<=-1&&_satellite.getVar("oneTrustTargetingCookie")&&(document.URL.indexOf("chegg.com/sell-textbooks")>-1||document.location.href.match(/chegg\.com\/study\/?$|chegg\.com\/study\/?\?/)||document.location.href.match(/chegg\.com\/study-pack\/?$|chegg\.com\/study-pack\/?\?/)||document.URL.indexOf("chegg.com/shoppingcart")>-1||document.URL.indexOf("chegg.com/checkoutinterstitial")>-1||document.location.href.match(/chegg\.com\/tutors\/?$|chegg\.com\/tutors\/?\?/)||document.location.href.match(/chegg\.com\/tutors\/pricing\/?$|chegg\.com\/tutors\/pricing\/?\?/)||document.location.href.match(/chegg\.com\/books\/?$|chegg\.com\/books\/?\?/)||-1!==document.location.pathname.indexOf("/contactus")||document.URL.indexOf("chegg.com/math-solver")>-1||document.URL.indexOf("chegg.com/auth?action=login&type=rm")>-1||document.URL.indexOf("chegg.com/checkout/sp/?checkoutFlowType=MIXED")>-1||document.URL.indexOf("chegg.com/returnbooks/label")>-1||document.URL.indexOf("chegg.com//guidedsolutions")>-1||document.URL.indexOf("chegg.com/writing")>-1||document.URL.indexOf("chegg.com/flashcards")>-1||document.URL.indexOf("chegg.com/csorderconfirm")>-1||document.URL.indexOf("chegg.com/csorderconfirm/csbundle")>-1||document.URL.indexOf("chegg.com/checkout/orderconfirm")>-1||document.URL.indexOf("chegg.com/orderconfirmpixel")>-1||document.URL.indexOf("chegg.com/occp")>-1||document.URL.indexOf("chegg.com/checkout/confirm")>-1||document.URL.indexOf("chegg.com/digitalperk")>-1||document.URL.indexOf("/privacypolicy")>-1||document.URL.indexOf("/subsidiaries-and-websites")>-1||document.URL.indexOf("/cspofferinterstitial/ap")>-1||document.URL.indexOf("chegg.com/checkoutmobilepromo/")>-1||document.URL.indexOf("chegg.com/my")>-1||document.URL.match(/chegg\.com\/?$|chegg.com\/?\?/g)||document.URL.toLowerCase().indexOf("chegg.com/cspofferinterstitial/ib")>-1||document.URL.toLowerCase().indexOf("chegg.com/csorderconfirm/csplive")>-1||document.URL.indexOf("/guidedsolutions")>-1||document.URL.indexOf("chegg.com/auth")>-1||document.URL.indexOf("chegg.com/honorcode/investigation-request")>-1||document.URL.indexOf("chegg.com/copyright/takedown-request")>-1||document.location.href.match(/chegg\.com\/honorcode\/?$|chegg\.com\/honorcode\/?\?/)||document.location.href.match(/chegg\.com\/copyright\/?$|chegg\.com\/copyright\/?\?/)||document.URL.indexOf("chegg.com/prep-for-an-exam")>-1||document.URL.indexOf("chegg.com/homework-help")>-1&&document.URL.indexOf("homework-help/questions-and-answers")<0||document.URL.indexOf("chegg.com/understand-a-topic")>-1||document.URL.indexOf("chegg.com/study/qa")>-1||document.URL.indexOf("chegg.com/introducing-chegg-life")>-1||document.URL.indexOf("chegg.com/career")>-1||document.URL.indexOf("chegg.com/promo/study/csp-turkey")>-1||document.URL.indexOf("chegg.com/promo/study_turkey_v1")>-1||document.URL.indexOf("chegg.com/promo/study/csp-mena")>-1||document.URL.indexOf("chegg.com/promo/study_mena")>-1||document.URL.indexOf("chegg.com/promo/")>-1)?(_satellite.logger.log("Optimizely enabled based on url condition "),!0):(_satellite.logger.log("Does not filled condition blockoptimizely=true and url so blocking web optimizely"),!1)}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!(document.URL.indexOf("chegg.com/writing")>-1||document.URL.indexOf("cheggnet.com/writing")>-1||document.URL.indexOf("cheggnet.com/uversity")>-1)}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'<script src="https://cdn.optimizely.com/js/16629070839.js"></script>',language:"html"}}]},{id:"RLfd1b1c5084dd43fcb80bdc84ef9662da",name:"Pixels:  All Pages (Test)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/subdomain.js",settings:{subdomains:[{value:"reader|test-prep|cms",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["cheggnet.com"]}},{modulePath:"core/src/lib/conditions/queryStringParameter.js",settings:{name:"u",value:"1"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC98d68be4546d430b9f765c340fb5000b-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCf9f12ae9318e413db82e1895e711f684-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL3f8ceef43a9e4afda7f80dff8c7e6310",name:"Pixels : Mathway Order Confirmation ",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50},{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"mathway_orderpage"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["mathway.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"user subscribed"===_satellite.getVar("mathway_orderpage").toLowerCase()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return"true"==_satellite.getVar("oneTrustTargetingCookie").toString()}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC1df2e1482c8f44009a3c37acd01de645-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCb669359ced82424384ebcd526eba706f-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC0218f2f83fe3448e8673ba9ddccae050-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC414a6ee1e58e4f978466d4a4abb54ede-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL0cdc1b3bf0c345d2b764f1410d20aef7",name:"Chegg : Math : All Pages (Prod Domain Only)",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/math\\-solver.*",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var cookieUtil = {\n  set : function (cname, cvalue, expmin) {\n    var getDomainWithoutSubdomain = function() {\n      try {\n        var urlParts = window.location.hostname.split('.');\n        return urlParts\n          .slice(0)\n          .slice(-(urlParts.length === 4 ? 3 : 2))\n          .join('.');\n      } catch (error) {\n        return '';\n      }\n    };\n    var domain = getDomainWithoutSubdomain();\n    if (typeof expmin === 'undefined')\n      document.cookie = cname + \"=\" + cvalue + \"; path=/; secure; domain=\" + domain;\n    else {\n      var date = new Date();\n      date.setTime(date.getTime() + (expmin * 60 * 1000));\n      var expires = \"expires=\"+date.toUTCString();\n      document.cookie = cname + \"=\" + cvalue + \"; \" + expires + \"; path=/; secure; domain=\" + domain;\n    }\n  },\n  get : function (name) {\n    if (document.cookie.indexOf(name) > -1) {\n      return document.cookie.split(name)[1].split(\"; \")[0].substr(1);\n    } else {\n      return '';\n    }\n  }\n};\n\nvar uuidUtil = {\n  httpRequest: function(method, url, isAsync, formData) {\n    var xhr = new XMLHttpRequest();\n    var isAsync = isAsync || false; // defaults to synchronous.\n    xhr.open(method, url, isAsync);\n    xhr.setRequestHeader('Content-type', 'application/json; charset=utf-8');\n    formData ? xhr.send(JSON.stringify(formData)) : xhr.send();\n    return xhr\n  },\n  uuidv4: function() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n      var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);\n      return v.toString(16);\n    });\n  }\n};\n\nvar processCheggVisitorID = function(cvid_endpoint) {\n  // get the cvid, mcid cookie value from domain cookies\n  var domain_cvid = cookieUtil.get('CVID'), domain_mcid = cookieUtil.get('mcid');\n  var cvid = undefined;\n  var cvid_url = cvid_endpoint+'?domain_cvid='+domain_cvid+'&domain_mcid='+domain_mcid;\n  var response = uuidUtil.httpRequest('GET', cvid_url, false);\n  if (response.status === 200 && response.responseText.indexOf('cvid') > 0) {\n    cvid = JSON.parse(response.responseText)['cvid'];\n  } else {\n    cvid = domain_cvid ? domain_cvid : (domain_mcid ? domain_mcid : (uuidUtil.uuidv4())); // fallback to get the domain level chegg user ID.\n  }\n  cookieUtil.set('CVID', cvid);\n  return cvid;\n};\n\nvar processCheggSessionID = function(csid_endpoint) {\n  // get the chegg session ID cookie value from domain cookies.\n  var domain_csid = cookieUtil.get('CSID');\n  var domain_cvid = cookieUtil.get('CVID');\n  var csid = undefined;\n  var csid_url = csid_endpoint;\n  if (!domain_csid) {\n    var response = uuidUtil.httpRequest('POST', csid_url, false, {cvid: domain_cvid, domainCsid: new Date().getTime()});\n    if (response.status === 200 && response.responseText.indexOf('csid') > 0) {\n      csid = JSON.parse(response.responseText)['csid'];\n      cookieUtil.set('CSID', parseInt(csid), 30);\n    }\n  } else {\n    var response = uuidUtil.httpRequest('POST', csid_url, true, {cvid: domain_cvid, domainCsid: parseInt(domain_csid)});\n    response.onload = function() {\n      csid = JSON.parse(response.responseText)['csid'];\n      if (csid) // when the service successfully returns the CSID.\n        cookieUtil.set('CSID', parseInt(csid), 30);\n      else // when the service fails to return the CSID.\n        cookieUtil.set('CSID', parseInt(domain_csid), 30);\n    };\n  }\n  return parseInt(cookieUtil.get('CSID'));\n}\n\n\nwindow.rio = {\n\n  /**\n   * Logs an event in Rio.\n   *\n   * @param argEventSource (string) - Event source (e.g. 'web.math_solver').\n   * @param argEventTitle (string) - Event title (e.g. 'math_input_go').\n   * @param argEventVersion (string) - Event version (e.g. '1.0.0').\n   * @param argEventPayload (object) - Event payload (data to log).\n   * @param argAdobePageName (string) - Adobe page name (e.g. 'homepage').\n   * @param callback (function) - Optional. Callback to fire after log event is complete.\n   */\n  logEvent: function(argEventSource, argEventTitle, argEventVersion, argEventPayload, argAdobePageName, callback){\n    var eventSource = argEventSource || '';\n    var eventTitle = argEventTitle || '';\n    var eventVersion = argEventVersion || '';\n    var eventPayload = argEventPayload || {};\n    var adobePageName = argAdobePageName || '';\n\n    var eventSourceStartsWithSlash = (eventSource.length > 0 && eventSource[0] === \"/\");\n    var isV2 = eventSourceStartsWithSlash;\n    var url = 'https://analytics.chegg.com/rio-service-web/rest/rio-events';\n\n    // Get user uuid and auth state from browser cookie\n    var cookie = document.cookie ? document.cookie.split(';') : [];\n    var authStateCookie = cookie.find(function(cookieItem){\n      return cookieItem.trim().indexOf('_sdsat_authState=') > -1;\n    });\n    var authState = authStateCookie ? authStateCookie.trim().replace('_sdsat_authState=', '') : '';\n\n    // fetch and update Chegg visitor ID from CVID service using GET method.\n    var cvid_endpoint = 'https://analytics.chegg.com/visitor-session-id-service/web/cvid';\n    var cvid = processCheggVisitorID(cvid_endpoint);\n\n    // fetch and update Chegg session ID from CSID service using POST method.\n    var csid_endpoint = 'https://analytics.chegg.com/visitor-session-id-service/web/csid';\n    var csid = processCheggSessionID(csid_endpoint);\n\n    var data;\n\n    if(isV2) {\n      data = {\n        cloud_events_version: \"0.1\",\n        event_type: eventTitle,\n        event_type_version: eventVersion,\n        source: eventSource,\n        data: eventPayload,\n        extensions: {\n          client_common: {\n            page_name: adobePageName,\n            referral_url: document.referrer || '',\n            url: window.location.href,\n            auth_state: authState.toLowerCase().split(' ').join('_'),\n            chegg_visitor_id: cvid,\n            chegg_session_id: csid\n          }\n        }\n      };\n    } else {\n      data = {\n        event_metadata: {\n          event_title: eventTitle,\n          event_version: eventVersion,\n        },\n        session_data: {\n          adobe_pagename: adobePageName,\n          referral_url: document.referrer || '',\n          auth_state: authState.toLowerCase().split(' ').join('_'),\n          event_source: eventSource\n        },\n        event_payload: eventPayload\n      };\n    }\n\n    // @TODO: Set content type\n    // The default content type is application/x-www-form-urlencoded.\n    // Ideally the API should only accept application/json which throws CORS error as of now as correct headers are not set.\n    // Update the content-type as required.\n    $.ajax({\n      method: 'POST',\n      url: url,\n      contentType:'application/json',\n      data: JSON.stringify(data),\n      xhrFields: {\n        withCredentials: true\n      },\n      error: function(error){\n        console.log(\"Error logging event in Rio:\", JSON.stringify(data), error);\n      },\n      complete: function(){\n        if(callback){\n          callback();\n        }\n      }\n    });\n  }\n};",language:"javascript"}}]},{id:"RLe281dfa8616f4a4a849f5a0e1a5437f3",name:"Device Fingerprint",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"(study\\/?$)|(study\\/?\\?)|((homework\\-help\\/)((questions\\-and\\-answers.*-q\\d{7,}\\/?$|questions\\-and-answers.*-q\\d{7,}\\/?\\?)|(.*solutions?\\-\\d{13}\\/?$|.*solutions?\\-\\d{13}\\/?\\?)|(.*solutions?\\-\\d{13}?$|.*solutions?\\-\\d{13}\\?)||(definitions)))|(study\\/qa\\/post)",valueIsRegex:!0},{value:"course\\/[a-zA-Z0-9\\-]+\\/uversity\\/[a-zA-Z0-9\\-\\_]+",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"try{\n  var ele = document.createElement('script');\n  ele.setAttribute('src', '//chegg-gne-iam.cheggcdn.com/lib/fingerprint-web-sdk/latest/index.min.js');\n  ele.async = 'true';\n  document.body.appendChild(ele);\n} catch(e){_satellite.notify('Device Fingerprint Error -> ',e);}",language:"javascript"}}]},{id:"RLc8f39395bb674b4eabc9d1d994554081",name:"Chegg Study : SNHU Order Confirm Pixel",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex"},leftOperand:"%pageName%",rightOperand:"snhu order confirmation pixel"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC78c20884e3f14cc6b07be2943f59061f-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL6f24473c45144f13850f9213380f7b09",name:"Pixels : ThreatMetrix (PROD)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%authState%",rightOperand:"Logged In$"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%pageName%",rightOperand:"chegg\\|web\\|cs\\|(qa|tbs)\\|"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%cheggStudyAccess%",rightOperand:"true"}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"study\\/qa|homework-help\\/expertquestion",valueIsRegex:!0}]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RCaa8baf388ad24b95a83bec750f2c1a5a-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL44eaf8f6557a4bc1930c66bc5179e955",name:"Uversity Pages - Pardot",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"\\/uversity\\/?",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"<script type=\"text/javascript\">\npiAId = '963803';\npiCId = '67724';\npiHostname = 'pi.pardot.com';\n\n(function() {\n\tfunction async_load(){\n\t\tvar s = document.createElement('script'); s.type = 'text/javascript';\n\t\ts.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js';\n\t\tvar c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c);\n\t}\n\tif(window.attachEvent) { window.attachEvent('onload', async_load); }\n\telse { window.addEventListener('load', async_load, false); }\n})();\n</script>",language:"html"}}]},{id:"RL4d5420aabb9a4bafa0f72bbe7babcfc9",name:"Pixels : Tutors All Pages ",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%subCategory2%",rightOperand:"chegg|web|tut"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%oneTrustPerformanceCookie%",rightOperand:"true"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC84358cf0a7db4f6e8cf72eae90cd4268-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC347ad19e884f47beb2100c3bd0014b44-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL75bb5ddc900c4242934a1c3c7839498b",name:"Pixels : Chegg Study TBS Pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%pageName%",rightOperand:"(.*tbs solution page|.*tbs chapter page|.*tbs book page)"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustTargetingCookie%"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==navigator.userAgent.indexOf("Googlebot")}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC3bdff5a0b75949349c5e45e89f6c8a3d-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL17746c144c5b433cbe1e1e58e777def0",name:"Pixel: Verizon COVID Redemption page",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%pageName%",rightOperand:"chegg|web|bp|verizon|covid19 verizon offer redemption"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC641d04eaaee24885a2d6612c853a0151-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL8199b9049d8947b0b91a6797f9cd7eda",name:"Pixels : Test Prep (Prod) - Crazy Egg",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","cheggnet.com"]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"matchesRegex",caseInsensitive:!0},leftOperand:"%subCategory3%",rightOperand:"chegg\\|web\\|tp"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTrue"},leftOperand:"%oneTrustPerformanceCookie%"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC150f6d346dfb4958be010dcb1439c269-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLcc41b75bb2ae42e592e4f66b0110f895",name:"Gladly - Chegg Domain",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"DCRwindowload"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["chegg.com","nano-demos.com","nanodemos.com"]}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!_satellite.getVar("inNativeApp")}}},{modulePath:"core/src/lib/conditions/subdomain.js",settings:{subdomains:[{value:"help",valueIsRegex:!0}]},negate:!0},{
modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"^\\/(bettergrades|summer)\\/?",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.isMarketingLandingPage||!window.blockGladly||void 0}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC258945234c314b0c83eeef9360c9b0ea-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC14f4f8a879a4472ea8300ad5a1db9892-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC6f3d28bbd66f4586824202fce81d2644-source.min.js",language:"html",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/63653349b887/188397411560/9d7b57f32245/RC614a608576c648478b704a5c8a49fee7-source.min.js",language:"javascript",isExternal:!0}}]}]};var _satellite=function(){"use strict";function e(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function t(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}function o(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(o){var a=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,a.get?a:{enumerable:!0,get:function(){return e[o]}})})),t}function a(e){var t={exports:{}};return e(t,t.exports),t.exports}function n(e){var t=this.constructor;return this.then((function(o){return t.resolve(e()).then((function(){return o}))}),(function(o){return t.resolve(e()).then((function(){return t.reject(o)}))}))}function s(e){return Boolean(e&&void 0!==e.length)}function i(){}function r(e,t){return function(){e.apply(t,arguments)}}function c(e){if(!(this instanceof c))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(e,this)}function d(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,c._immediateFn((function(){var o=1===e._state?t.onFulfilled:t.onRejected;if(null!==o){var a;try{a=o(e._value)}catch(e){return void l(t.promise,e)}u(t.promise,a)}else(1===e._state?u:l)(t.promise,e._value)}))):e._deferreds.push(t)}function u(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var o=t.then;if(t instanceof c)return e._state=3,e._value=t,void g(e);if("function"==typeof o)return void p(r(o,t),e)}e._state=1,e._value=t,g(e)}catch(t){l(e,t)}}function l(e,t){e._state=2,e._value=t,g(e)}function g(e){2===e._state&&0===e._deferreds.length&&c._immediateFn((function(){e._handled||c._unhandledRejectionFn(e._value)}));for(var t=0,o=e._deferreds.length;t<o;t++)d(e,e._deferreds[t]);e._deferreds=null}function m(e,t,o){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=o}function p(e,t){var o=!1;try{e((function(e){o||(o=!0,u(t,e))}),(function(e){o||(o=!0,l(t,e))}))}catch(e){if(o)return;o=!0,l(t,e)}}function f(e){return!0===qe(e)&&"[object Object]"===Object.prototype.toString.call(e)}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function b(e){return"string"==typeof e&&-1!==e.indexOf("[")&&-1!==e.indexOf("]")}function v(e){return e.substr(0,e.indexOf("["))}function C(e,t,o){if(e.length&&Me(t)){var a=e[0];if(1!==e.length){var n=e.slice(1);if(!b(a))return C(n,t[a],o);var s=t[a=v(a)];Array.isArray(s)&&s.forEach((function(e){return C(n,e,o)}))}else t.hasOwnProperty(a)&&"string"==typeof t[a]&&(t[a]=o(t[a]))}}if(window.atob){var y=document,j=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,x=t()?Object.assign:function(t){for(var o,a,n=e(t),s=1;s<arguments.length;s++){for(var i in o=Object(arguments[s]))P.call(o,i)&&(n[i]=o[i]);if(j){a=j(o);for(var r=0;r<a.length;r++)w.call(o,a[r])&&(n[a[r]]=o[a[r]])}}return n},D=x,E=window,_=function(e,t,o,a){var n,s=Boolean(t&&Array.isArray(o)),i=Boolean(s&&e),r=document.createElement("a");if(s){var c=function(){var e=new Error("Unable to find the Library Embed Code for Dynamic Host Resolution.");throw e.code="dynamic_host_resolver_constructor_error",e};if(e&&(/^((https?:)?\/\/).+/.test(e)||c(),/^\/\/.+/.test(e)?r.href=E.location.protocol+e:r.href=e),r.hostname||c(),-1===o.indexOf(r.hostname)){var d=new Error("This library is not authorized for this domain. Please contact your CSM for more information.");throw d.code="dynamic_host_not_allowed",d}}var u=function(){if(null!=n)return n;if(i){var e=r.host;/:80$/.test(e)?e=e.replace(":80",""):/:80\/$/.test(e)?e=e.replace(":80/",""):/:443$/.test(e)?e=e.replace(":443",""):/:443\/$/.test(e)&&(e=e.replace(":443/","")),n=r.protocol+"//"+e}else n="";return n},l=function(e){return i&&"string"==typeof e?[u(),"/"===e.charAt(0)?e.slice(1):e].join("/"):e},g={getTurbineHost:u,decorateWithDynamicHost:l,get isDynamicEnforced(){return s}};return E&&a.onDebugChanged((function(e){e?E.dynamicHostResolver=g:delete E.dynamicHostResolver})),g},O=function(e){var t=[];return e.forEach((function(e){e.events&&e.events.forEach((function(o){t.push({rule:e,event:o})}))})),t.sort((function(e,t){return e.event.ruleOrder-t.event.ruleOrder}))},T="debug",I=function(e,t){var o=function(){return"true"===e.getItem(T)},a=function(t){e.setItem(T,t)},n=[],s=function(e){n.push(e)};return t.outputEnabled=o(),{onDebugChanged:s,getDebugEnabled:o,setDebugEnabled:function(e){o()!==e&&(a(e),t.outputEnabled=e,n.forEach((function(t){t(e)})))}}},R="Module did not export a function.",k=function(e,t,o){return function(a,n,s){s=s||[];var i=e.getModuleExports(a.modulePath);if("function"!=typeof i)throw new Error(R);var r=e.getModuleDefinition(a.modulePath),c=a.settings||{};!a.hasTransformedFilePaths&&r.filePaths&&(o(c,r.filePaths,a.modulePath),a.hasTransformedFilePaths=!0);var d=t(c,n);return i.bind(null,d).apply(null,s)}},S=function(e){return"string"==typeof e?e.replace(/\s+/g," ").trim():e},L={LOG:"log",INFO:"info",DEBUG:"debug",WARN:"warn",ERROR:"error"},V="\ud83d\ude80",A=10===parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase())||[])[1])?"[Launch]":V,U=!1,N=function(e){if(U&&window.console){var t=Array.prototype.slice.call(arguments,1);t.unshift(A),e!==L.DEBUG||window.console[e]||(e=L.INFO),window.console[e].apply(window.console,t)}},F=N.bind(null,L.LOG),q=N.bind(null,L.INFO),M=N.bind(null,L.DEBUG),B=N.bind(null,L.WARN),H=N.bind(null,L.ERROR),G=function(){var e=U;U=!0,N.apply(null,Array.prototype.concat(L.WARN,Array.prototype.slice.call(arguments))),e||(U=!1)},$={log:F,info:q,debug:M,warn:B,error:H,deprecation:G,get outputEnabled(){return U},set outputEnabled(e){U=e},createPrefixedLogger:function(e){var t="["+e+"]";return{log:F.bind(null,t),info:q.bind(null,t),debug:M.bind(null,t),warn:B.bind(null,t),error:H.bind(null,t)}}},W="com.adobe.reactor.",Q=function(e,t){var o=W+(t||"");return{getItem:function(t){try{return E[e].getItem(o+t)}catch(e){return null}},setItem:function(t,a){try{return E[e].setItem(o+t,a),!0}catch(e){return!1}}}},J="dataElements.",z=Q("sessionStorage",J),K=Q("localStorage",J),Z={PAGEVIEW:"pageview",SESSION:"session",VISITOR:"visitor"},X={},Y=function(e){var t;try{t=JSON.stringify(e)}catch(e){}return t},ee={setValue:function(e,t,o){var a;switch(t){case Z.PAGEVIEW:return void(X[e]=o);case Z.SESSION:return void((a=Y(o))&&z.setItem(e,a));case Z.VISITOR:return void((a=Y(o))&&K.setItem(e,a))}},getValue:function(e,t){var o;switch(t){case Z.PAGEVIEW:return X.hasOwnProperty(e)?X[e]:null;case Z.SESSION:return null===(o=z.getItem(e))?o:JSON.parse(o);case Z.VISITOR:return null===(o=K.getItem(e))?o:JSON.parse(o)}}},te=function(e,t,o,a){return"Failed to execute data element module "+e.modulePath+" for data element "+t+". "+o+(a?"\n"+a:"")},oe=function(e,t,o,a,n){return function(s,i){var r=t(s);if(!r)return a?"":void 0;var c,d,u=r.storageDuration;try{c=e.getModuleExports(r.modulePath),d=e.getModuleDefinition(r.modulePath)}catch(e){return void $.error(te(r,s,e.message,e.stack))}if("function"==typeof c){var l,g=r.settings||{};!r.hasTransformedFilePaths&&d.filePaths&&(n(g,d.filePaths,r.modulePath),r.hasTransformedFilePaths=!0);try{l=c(o(g,i),i)}catch(e){return void $.error(te(r,s,e.message,e.stack))}return u&&(null!=l?ee.setValue(s,u,l):l=ee.getValue(s,u)),null==l&&null!=r.defaultValue&&(l=r.defaultValue),"string"==typeof l&&(r.cleanText&&(l=S(l)),r.forceLowerCase&&(l=l.toLowerCase())),l}$.error(te(r,s,"Module did not export a function."))}},ae={text:function(e){return e.textContent},cleanText:function(e){return S(e.textContent)}},ne=function(e,t,o){for(var a,n=e,s=0,i=t.length;s<i;s++){if(null==n)return;var r=t[s];if(o&&"@"===r.charAt(0)){var c=r.slice(1);n=ae[c](n)}else if(n.getAttribute&&(a=r.match(/^getAttribute\((.+)\)$/))){var d=a[1];n=n.getAttribute(d)}else n=n[r]}return n},se=function(e,t,o){return function(a,n){var s;if(t(a))s=o(a,n);else{var i=a.split("."),r=i.shift();"this"===r?n&&(s=ne(n.element,i,!0)):"event"===r?n&&(s=ne(n,i)):"target"===r?n&&(s=ne(n.target,i)):s=ne(e[r],i)}return s}},ie=function(e,t){return function(o){var a=o.split(".")[0];return Boolean(t(o)||"this"===a||"event"===a||"target"===a||e.hasOwnProperty(a))}},re=function(e,t,o){var a={exports:{}};return e.call(a.exports,a,a.exports,t,o),a.exports},ce=function(){var e={},t=function(t){var o=e[t];if(!o)throw new Error("Module "+t+" not found.");return o},o=function(){Object.keys(e).forEach((function(e){try{a(e)}catch(o){var t="Error initializing module "+e+". "+o.message+(o.stack?"\n"+o.stack:"");$.error(t)}}))},a=function(e){var o=t(e);return o.hasOwnProperty("exports")||(o.exports=re(o.definition.script,o.require,o.turbine)),o.exports};return{registerModule:function(t,o,a,n,s){var i={definition:o,extensionName:a,require:n,turbine:s};i.require=n,e[t]=i},hydrateCache:o,getModuleExports:a,getModuleDefinition:function(e){return t(e).definition},getModuleExtensionName:function(e){return t(e).extensionName}}},de=!1,ue=function(e){return function(t,o){var a=e._monitors;a&&(de||($.warn("The _satellite._monitors API may change at any time and should only be used for debugging."),de=!0),a.forEach((function(e){e[t]&&e[t](o)})))}},le=function(e,t,o){var a,n,s,i,r=[],c=function(a,n,s){if(!e(n))return a;r.push(n);var i=t(n,s);return r.pop(),null==i&&o?"":i};return a=function(e,t){var o=/^%([^%]+)%$/.exec(e);return o?c(e,o[1],t):e.replace(/%(.+?)%/g,(function(e,o){return c(e,o,t)}))},n=function(e,t){for(var o={},a=Object.keys(e),n=0;n<a.length;n++){var s=a[n],r=e[s];o[s]=i(r,t)}return o},s=function(e,t){for(var o=[],a=0,n=e.length;a<n;a++)o.push(i(e[a],t));return o},i=function(e,t){return"string"==typeof e?a(e,t):Array.isArray(e)?s(e,t):"object"==typeof e&&null!==e?n(e,t):e},function(e,t){return r.length>10?($.error("Data element circular reference detected: "+r.join(" -> ")),e):i(e,t)}},ge=function(e){return function(){if("string"==typeof arguments[0])e[arguments[0]]=arguments[1];else if(arguments[0]){var t=arguments[0];for(var o in t)e[o]=t[o]}}},me="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},pe=setTimeout;c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){var o=new this.constructor(i);return d(this,new m(e,t,o)),o},c.prototype.finally=n,c.all=function(e){return new c((function(t,o){function a(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var r=s.then;if("function"==typeof r)return void r.call(s,(function(t){a(e,t)}),o)}n[e]=s,0==--i&&t(n)}catch(e){o(e)}}if(!s(e))return o(new TypeError("Promise.all accepts an array"));var n=Array.prototype.slice.call(e);if(0===n.length)return t([]);for(var i=n.length,r=0;r<n.length;r++)a(r,n[r])}))},c.resolve=function(e){return e&&"object"==typeof e&&e.constructor===c?e:new c((function(t){t(e)}))},c.reject=function(e){return new c((function(t,o){o(e)}))},c.race=function(e){return new c((function(t,o){if(!s(e))return o(new TypeError("Promise.race accepts an array"));for(var a=0,n=e.length;a<n;a++)c.resolve(e[a]).then(t,o)}))},c._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){pe(e,0)},c._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var fe=o(Object.freeze({__proto__:null,default:c})),he="undefined"!=typeof window&&window.Promise||void 0!==me&&me.Promise||fe.default||fe,be=function(e,t,o){return function(a,n,s,i){return i.then((function(){var i,r=a.delayNext;return new he((function(t,o){var n=e(a,s,[s]);if(!r)return t();var c=a.timeout,d=new he((function(e,t){i=setTimeout((function(){t(new Error("A timeout occurred because the action took longer than "+c/1e3+" seconds to complete. "))}),c)}));he.race([n,d]).then(t,o)})).catch((function(e){return clearTimeout(i),e=t(e),o(a,n,e),he.reject(e)})).then((function(){clearTimeout(i)}))}))}},ve=function(e,t,o,a,n){return function(s,i,r,c){return c.then((function(){var c;return new he((function(t,o){var a=e(s,r,[r]),n=s.timeout,i=new he((function(e,t){c=setTimeout((function(){t(new Error("A timeout occurred because the condition took longer than "+n/1e3+" seconds to complete. "))}),n)}));he.race([a,i]).then(t,o)})).catch((function(e){return clearTimeout(c),e=t(e),a(s,i,e),he.reject(e)})).then((function(e){if(clearTimeout(c),!o(s,e))return n(s,i),he.reject()}))}))}},Ce=he.resolve(),ye=function(e,t,o){return function(a,n){return a.conditions&&a.conditions.forEach((function(t){Ce=e(t,a,n,Ce)})),a.actions&&a.actions.forEach((function(e){Ce=t(e,a,n,Ce)})),Ce=(Ce=Ce.then((function(){o(a)}))).catch((function(){}))}},je=function(e){return Boolean(e&&"object"==typeof e&&"function"==typeof e.then)},Pe=function(e,t,o,a){return function(n,s){var i;if(n.conditions)for(var r=0;r<n.conditions.length;r++){i=n.conditions[r];try{var c=e(i,s,[s]);if(je(c))throw new Error("Rule component sequencing must be enabled on the property for this condition to function properly.");if(!t(i,c))return o(i,n),!1}catch(e){return a(i,n,e),!1}}return!0}},we=function(e,t){return function(o,a){e(o,a)&&t(o,a)}},xe=function(e){return function(t){var o=e.getModuleDefinition(t.modulePath);return o&&o.displayName||t.modulePath}},De=function(e){return function(t){var o=t.rule,a=t.event,n=e.getModuleDefinition(a.modulePath).name;return{$type:e.getModuleExtensionName(a.modulePath)+"."+n,$rule:{id:o.id,name:o.name}}}},Ee=function(e,t,o,a,n,s){return function(i,r){var c=r.rule,d=r.event;d.settings=d.settings||{};try{var u=n(r);t(d,null,[function(t){var a=o(u,t);i((function(){e(a,c)}))}])}catch(e){s.error(a(d,c,e))}}},_e=function(e,t,o,a){return function(n,s,i){var r=t(n);o.error(e(r,s.name,i)),a("ruleActionFailed",{rule:s,action:n})}},Oe=function(e,t,o,a){return function(n,s,i){var r=t(n);o.error(e(r,s.name,i)),a("ruleConditionFailed",{rule:s,condition:n})}},Te=function(e,t,o){return function(a,n){var s=e(a);t.log('Condition "'+s+'" for rule "'+n.name+'" was not met.'),o("ruleConditionFailed",{rule:n,condition:a})}},Ie=function(e,t){return function(o){e.log('Rule "'+o.name+'" fired.'),t("ruleCompleted",{rule:o})}},Re=function(e,t,o){return function(a,n){var s;if(a.actions)for(var i=0;i<a.actions.length;i++){s=a.actions[i];try{e(s,n,[n])}catch(e){return void t(s,a,e)}}o(a)}},ke=function(e,t,o,a){return function(n,s){a("ruleTriggered",{rule:s}),e?o(s,n):t(s,n)}},Se=function(e,t,o){return'Failed to execute "'+e+'" for "'+t+'" rule. '+o.message+(o.stack?"\n"+o.stack:"")},Le=function(e,t){return t&&!e.negate||!t&&e.negate},Ve=[],Ae=!1,Ue=function(e){Ae?e():Ve.push(e)},Ne=function(e,t,o){e(t).forEach((function(e){o(Ue,e)})),Ae=!0,Ve.forEach((function(e){e()})),Ve=[]},Fe=function(e){if(e||(e=new Error("The extension triggered an error, but no error information was provided.")),!(e instanceof Error)){var t="object"==typeof e?JSON.stringify(e):String(e);e=new Error(t)}return e},qe=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)},Me=function(e){var t,o;return!1!==f(e)&&("function"==typeof(t=e.constructor)&&(!1!==f(o=t.prototype)&&!1!==o.hasOwnProperty("isPrototypeOf")))},Be=function(e,t){return Me(t=t||{})?t=D({},t,e):D(t,e),t.hasOwnProperty("type")||Object.defineProperty(t,"type",{get:function(){return $.deprecation("Accessing event.type in Adobe Launch has been deprecated and will be removed soon. Please use event.$type instead."),t.$type}}),t},He=function(e,t){return function(o,a){var n=e[o];if(n){var s=n.modules;if(s)for(var i=Object.keys(s),r=0;r<i.length;r++){var c=i[r],d=s[c];if(d.shared&&d.name===a)return t.getModuleExports(c)}}}},Ge=function(e,t){return function(){return t?e(t):{}}},$e=function(e,t,o){return function(a){if(o){var n=a.split(".");n.splice(n.length-1||1,0,"min"),a=n.join(".")}return e(t)+a}},We=".js",Qe=function(e){return e.substr(0,e.lastIndexOf("/"))},Je=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},ze=function(e,t){Je(t,We)||(t+=We);var o=t.split("/"),a=Qe(e).split("/");return o.forEach((function(e){e&&"."!==e&&(".."===e?a.length&&a.pop():a.push(e))})),a.join("/")},Ke=a((function(e){!function(t){if(e.exports=t(),!!0){var o=window.Cookies,a=window.Cookies=t();a.noConflict=function(){return window.Cookies=o,a}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var o=arguments[e];for(var a in o)t[a]=o[a]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function o(a){function n(){}function s(t,o,s){if("undefined"!=typeof document){"number"==typeof(s=e({path:"/"},n.defaults,s)).expires&&(s.expires=new Date(1*new Date+864e5*s.expires)),s.expires=s.expires?s.expires.toUTCString():"";try{var i=JSON.stringify(o);/^[\{\[]/.test(i)&&(o=i)}catch(e){}o=a.write?a.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var r="";for(var c in s)s[c]&&(r+="; "+c,!0!==s[c]&&(r+="="+s[c].split(";")[0]));return document.cookie=t+"="+o+r}}function i(e,o){if("undefined"!=typeof document){for(var n={},s=document.cookie?document.cookie.split("; "):[],i=0;i<s.length;i++){var r=s[i].split("="),c=r.slice(1).join("=");o||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var d=t(r[0]);if(c=(a.read||a)(c,d)||t(c),o)try{c=JSON.parse(c)}catch(e){}if(n[d]=c,e===d)break}catch(e){}}return e?n[e]:n}}return n.set=s,n.get=function(e){return i(e,!1)},n.getJSON=function(e){return i(e,!0)},n.remove=function(t,o){s(t,"",e(o,{expires:-1}))},n.defaults={},n.withConverter=o,n}return o((function(){}))}))})),Ze={get:Ke.get,set:Ke.set,remove:Ke.remove},Xe=function(e,t){return new he((function(o,a){t.onload=function(){o(t)},t.onerror=function(){a(new Error("Failed to load script "+e))}}))},Ye=function(e){var t=document.createElement("script");t.src=e,t.async=!0;var o=Xe(e,t);return document.getElementsByTagName("head")[0].appendChild(t),o},et=function(e,t,o,a){t=t||"&",o=o||"=";var n={};if("string"!=typeof e||0===e.length)return n;var s=/\+/g;e=e.split(t);var i=1e3;a&&"number"==typeof a.maxKeys&&(i=a.maxKeys);var r=e.length;i>0&&r>i&&(r=i);for(var c=0;c<r;++c){var d,u,l,g,m=e[c].replace(s,"%20"),p=m.indexOf(o);p>=0?(d=m.substr(0,p),u=m.substr(p+1)):(d=m,u=""),l=decodeURIComponent(d),g=decodeURIComponent(u),h(n,l)?Array.isArray(n[l])?n[l].push(g):n[l]=[n[l],g]:n[l]=g}return n},tt=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},ot=function(e,t,o,a){return t=t||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var n=encodeURIComponent(tt(a))+o;return Array.isArray(e[a])?e[a].map((function(e){return n+encodeURIComponent(tt(e))})).join(t):n+encodeURIComponent(tt(e[a]))})).join(t):a?encodeURIComponent(tt(a))+o+encodeURIComponent(tt(e)):""},at=a((function(e,t){t.decode=t.parse=et,t.encode=t.stringify=ot})),nt="@adobe/reactor-",st={cookie:Ze,document:y,"load-script":Ye,"object-assign":D,promise:he,"query-string":{parse:function(e){return"string"==typeof e&&(e=e.trim().replace(/^[?#&]/,"")),at.parse(e)},stringify:function(e){return at.stringify(e)}},window:E},it=function(e){return function(t){if(0===t.indexOf(nt)){var o=t.substr(nt.length),a=st[o];if(a)return a}if(0===t.indexOf("./")||0===t.indexOf("../"))return e(t);throw new Error('Cannot resolve module "'+t+'".')}},rt=function(e,t,o,a,n,s,i){var r=e.extensions,c=e.buildInfo,d=e.environment,u=e.property.settings;if(r){var l=He(r,t);Object.keys(r).forEach((function(g){var m=r[g],p=m.settings;Array.isArray(m.filePaths)&&(p=s(p,m.filePaths));var f=Ge(a,p);if(m.modules){var h=$.createPrefixedLogger(m.displayName),b=$e(i,m.hostedLibFilesBaseUrl,c.minified),v={buildInfo:c,environment:d,property:{name:e.property.name,id:e.property.id},getDataElementValue:n,getExtensionSettings:f,getHostedLibFileUrl:b,getSharedModule:l,logger:h,propertySettings:u,replaceTokens:a,onDebugChanged:o.onDebugChanged,get debugEnabled(){return o.getDebugEnabled()}};Object.keys(m.modules).forEach((function(e){var o=m.modules[e],a=it((function(o){var a=ze(e,o);return t.getModuleExports(a)}));t.registerModule(e,o,g,a,v)}))}})),t.hydrateCache()}return t},ct=function(e,t,o,a,n){var s=$.createPrefixedLogger("Custom Script");e.track=function(e){$.log('"'+e+'" does not match any direct call identifiers.')},e.getVisitorId=function(){return null},e.property={name:t.property.name,id:t.property.id},e.company=t.company,e.buildInfo=t.buildInfo,e.environment=t.environment,e.logger=s,e.notify=function(e,t){switch($.deprecation("_satellite.notify is deprecated. Please use the `_satellite.logger` API."),t){case 3:s.info(e);break;case 4:s.warn(e);break;case 5:s.error(e);break;default:s.log(e)}},e.getVar=a,e.setVar=n,e.setCookie=function(e,t,o){var a="",n={};o&&(a=", { expires: "+o+" }",n.expires=o);var s='_satellite.setCookie is deprecated. Please use _satellite.cookie.set("'+e+'", "'+t+'"'+a+").";$.deprecation(s),Ze.set(e,t,n)},e.readCookie=function(e){return $.deprecation('_satellite.readCookie is deprecated. Please use _satellite.cookie.get("'+e+'").'),Ze.get(e)},e.removeCookie=function(e){$.deprecation('_satellite.removeCookie is deprecated. Please use _satellite.cookie.remove("'+e+'").'),Ze.remove(e)},e.cookie=Ze,e.pageBottom=function(){},e.setDebug=o;var i=!1;Object.defineProperty(e,"_container",{get:function(){return i||($.warn("_satellite._container may change at any time and should only be used for debugging."),i=!0),t}})},dt=function(e){for(var t=y.querySelectorAll("script"),o=0;o<t.length;o++){var a=t[o];if(e.test(a.src))return a}},ut=function(e,t){return function(o,a,n){return e&&Me(o)&&Object.keys(o).length&&Array.isArray(a)&&a.length?(a.forEach((function(e){Boolean(null!=n&&/^core\/.*actions.*\/customCode\.js$/.test(n))&&"source"===e&&!o.isExternal||C(e.split("."),o,t)})),o):o}},lt={getTurbine:function(){return dt(new RegExp(/(launch|satelliteLib)-[^\/]+.js(\?.*)?$/))},byRegexPattern:dt}.getTurbine,gt=window._satellite;if(gt&&!window.__satelliteLoaded){window.__satelliteLoaded=!0;var mt=gt.container;delete gt.container;var pt=D({},mt.buildInfo);Object.defineProperty(pt,"environment",{get:function(){return $.deprecation("container.buildInfo.environment is deprecated.Please use `container.environment.stage` instead"),mt.environment.stage}}),mt.buildInfo=pt;var ft,ht=I(Q("localStorage"),$),bt="";y.currentScript&&y.currentScript.getAttribute("src")?bt=y.currentScript.getAttribute("src"):lt()&&(bt=lt().getAttribute("src"));try{ft=_(bt,Boolean(mt.company.dynamicCdnEnabled),mt.company.cdnAllowList,ht)}catch(e){throw $.warn("Please review the following error:"),e}var vt,Ct=ut(ft.isDynamicEnforced,ft.decorateWithDynamicHost),yt=ce(),jt=mt.property.settings.undefinedVarsReturnEmpty,Pt=mt.property.settings.ruleComponentSequencingEnabled,wt=mt.dataElements||{},xt=function(e){return wt[e]},Dt=function(){return vt.apply(null,arguments)},Et=oe(yt,xt,Dt,jt,Ct),_t={},Ot=ge(_t),Tt=ie(_t,xt),It=se(_t,xt,Et);vt=le(Tt,It,jt),ct(gt,mt,ht.setDebugEnabled,It,Ot),rt(mt,yt,ht,vt,Et,Ct,ft.decorateWithDynamicHost);var Rt=ue(gt),kt=k(yt,vt,Ct),St=xe(yt),Lt=Te(St,$,Rt),Vt=Oe(Se,St,$,Rt),At=_e(Se,St,$,Rt),Ut=Ie($,Rt),Nt=Ee(ke(Pt,we(Pe(kt,Le,Lt,Vt),Re(kt,At,Ut)),ye(ve(kt,Fe,Le,Vt,Lt),be(kt,Fe,At),Ut),Rt),kt,Be,Se,De(yt),$);Ne(O,mt.rules||[],Nt)}return gt}console.warn("Adobe Launch is unsupported in IE 9 and below.")}();