
/*@preserve
***Version 2.40.0***
*/

/*@license
 *                       Copyright 2002 - 2018 Qualtrics, LLC.
 *                                All rights reserved.
 *
 * Notice: All code, text, concepts, and other information herein (collectively, the
 * "Materials") are the sole property of Qualtrics, LLC, except to the extent
 * otherwise indicated. The Materials are proprietary to Qualtrics and are protected
 * under all applicable laws, including copyright, patent (as applicable), trade
 * secret, and contract law. Disclosure or reproduction of any Materials is strictly
 * prohibited without the express prior written consent of an authorized signatory
 * of Qualtrics. For disclosure requests, please contact notice@qualtrics.com.
 */

try {
  (window["WAFQualtricsWebpackJsonP-cloud-2.40.0"]=window["WAFQualtricsWebpackJsonP-cloud-2.40.0"]||[]).push([[4],[,,,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var r=n(6),a=n(5),i=Object(a.createContext)({legacyCreativeVal:null}),o=function(){return Object(r.b)(i)},s=i.Provider},,,,function(e,t){var n={SOMEWHATUNHELPFUL:{DE:"2 – Niedrige Bewertung",SV:"2 - Låg bedömning",RU:"2. Низкая оценка",FI:"2 - Alhainen arvostelu",PT:"2 - Classificação baixa",KO:"2 - 낮은 등급","PT-BR":"2 - Classificação baixa",EN:"2 - Low rating",IT:"2 - Valutazione bassa",FR:"2 - Note basse","RI-GI":"⁪⁪⁪‍‌‌​‌​‍​​‍‍​‌‌‌​‌‍​‌‌‌​‌‌​‌‍‌‍‌​​​​‍‌‍‍⁪2 - Low rating⁪⁪",ES:"2 - Valoración baja","ZH-CN":"2 - 低评级","ZH-TW":"2 - 低評分",PB:"⟦용용용용 2 - Ŀôώ гàŧїŋĝ 歴歴歴歴⟧",TH:"2 - การจัดอันดับต่ำ",JA:"2 - 低評価",DA:"2 - Lav vurdering","EN-GB":"2 - Low rating",NL:"2 - Slechte beoordeling","ES-419":"2 - Calificación baja","EN-US":"2 - Low rating"},EXTREMELYUNHELPFUL:{DE:"1 – Niedrigste Bewertung",SV:"1 - Lägsta bedömning",RU:"1 - самая низкая оценка",FI:"1 - Alin arvio",PT:"1 - Classificação mais baixa",KO:"1 - 최저 등급","PT-BR":"1 - Classificação mais baixa",EN:"1 - Lowest rating",IT:"1 - Valutazione più bassa",FR:"1 - Note la plus basse","RI-GI":"1 - Lowest rating⁪⁪",ES:"1 - Valoración más baja","ZH-CN":"1 - 最低评级","ZH-TW":"1 - 最低評分",PB:"⟦용용용용용 1 - Ŀőωëѕŧ яαţîйġ 歴歴歴歴歴⟧",TH:"1 - การจัดอันดับต่ำสุด",JA:"1 - 最低評価",DA:"1 - Laveste bedømmelse","EN-GB":"1 - Lowest rating",NL:"1 - Slechtste beoordeling","ES-419":"1 - Calificación mínima","EN-US":"1 - Lowest rating"},CLOSE:{DE:"Schließen",EN:"Close","EN-GB":"Close","EN-US":"Close",ES:"Cerrar","ES-419":"Cerrar",FI:"Sulje",FR:"Fermer",IT:"Chiudi",JA:"閉じます",KO:"닫힙니다",NL:"Sluiten",PB:"⟦용용용용 Čĺőŝе",PT:"Fechar","PT-BR":"Feche","ZH-CN":"关闭","ZH-TW":"關閉"},NEITHERHELPFULNORUNHELPFUL:{DE:"3 – Neutrale Bewertung",SV:"3 - Neutralt kreditbetyg",RU:"3 - Нейтральный рейтинг",FI:"3 - Neutraali arviointi",PT:"3 - Classificação neutra",KO:"3 - 중간 등급","PT-BR":"3 - Classificação neutra",EN:"3 - Neutral rating",IT:"3 - Valutazione neutra",FR:"3 - Note neutre","RI-GI":"3 - Neutral rating⁪",ES:"3 - Valoración neutra","ZH-CN":"3 - 中性评级","ZH-TW":"3 - 中立評分",PB:"⟦용용용용용 3 - Ŋεúŧяâľ яàţíиġ 歴歴歴歴歴⟧",TH:"3 - การให้คะแนนเป็นกลาง",JA:"3 - 中立評価",DA:"3 - Neutral rating","EN-GB":"3 - Neutral rating",NL:"3 - Neutrale beoordeling","ES-419":"3 - Calificación neutra","EN-US":"3 - Neutral rating"},EXTREMELYHELPFUL:{DE:"5 – Höchste Bewertung",SV:"5 - Högsta bedömning",RU:"5 - самый высокий рейтинг",FI:"5 - Korkein arvio",PT:"5 - Classificação mais alta",KO:"5 - 최고 등급","PT-BR":"5 - Classificação mais alta",EN:"5 - Highest rating",IT:"5 - Valutazione più alta",FR:"5 - Note la plus élevée","RI-GI":"5 - Highest rating⁪",ES:"5 - Valoración más alta","ZH-CN":"5 - 最高评级","ZH-TW":"5 - 最高評分",PB:"⟦용용용용용 5 - Ĥįġĥĕşţ řåţіŋġ 歴歴歴歴歴⟧",TH:"5 - คะแนนสูงสุด",JA:"5 - 最高評価",DA:"5 - Højeste bedømmelse","EN-GB":"5 - Highest rating",NL:"5 - Beste beoordeling","ES-419":"5 - Calificación máxima","EN-US":"5 - Highest rating"},SOMEWHATHELPFUL:{DE:"4 – Hohe Bewertung",SV:"4 - Högt betyg",RU:"4 - высокий рейтинг",FI:"4 - Korkea arvosana",PT:"4 - Classificação alta",KO:"4 - 높은 등급","PT-BR":"4 - Classificação alta",EN:"4 - High rating",IT:"4 - Valutazione alta",FR:"4 - Note élevée","RI-GI":"4 - High rating⁪⁪",ES:"4 - Valoración alta","ZH-CN":"4 - 较高评级","ZH-TW":"4 - 高評級",PB:"⟦용용용용 4 - Ĥîĝĥ řăťĩηĝ 歴歴歴歴⟧",TH:"4 - การจัดอันดับสูง",JA:"4 - 高評価",DA:"4 - Høj bedømmelse","EN-GB":"4 - High rating",NL:"4 - Goede beoordeling","ES-419":"4 - Calificación alta","EN-US":"4 - High rating"},THUMBSUP:{DE:"Zustimmen",SV:"Tummen upp",RU:"Нравится",FI:"Peukalo ylös",PT:"Polegar para cima",KO:"승인","PT-BR":"Curto",EN:"Thumbs Up",IT:"Benissimo",FR:"Pouce vers le haut","RI-GI":"⁪⁪⁪‌​‌‍‍‌‌‍​‍​​​‌‍​‍​​‍‌‌​​‌‍‍‌‌‍​‍​‌‍‍‍​‌‍‌⁪Thumbs Up⁪⁪",ES:"Conforme","ZH-CN":"赞","ZH-TW":"喜歡",PB:"⟦용용용 Ŧнųmьś Ŭρ 歴歴歴⟧",TH:"ชอบ",JA:"賛成",DA:"Tommelfingeren op","EN-GB":"Thumbs Up",NL:"Duim omhoog","ES-419":"Pulgar arriba","EN-US":"Thumbs Up"},THUMBSDOWN:{DE:"Ablehnen",SV:"Tummen ned",RU:"Не нравится",FI:"Peukalo alas",PT:"Polegar para baixo",KO:"거절","PT-BR":"Não curto",EN:"Thumbs Down",IT:"Malissimo",FR:"Pouce vers le bas","RI-GI":"⁪⁪⁪‌​‌​​‍‌‌‌​‌‍‍‍‌‌‍‍‍‍‌‌‍‍‌‌‍‍‌‍‍‌‌​​‍‍‍‍‍‌⁪Thumbs Down⁪⁪",ES:"No conforme","ZH-CN":"很逊","ZH-TW":"不喜歡",PB:"⟦용용용 Τнцmвŝ Ðοωń 歴歴歴⟧",TH:"ไม่ชอบ",JA:"不賛成",DA:"Tommelfingeren ned","EN-GB":"Thumbs Down",NL:"Duim omlaag","ES-419":"Pulgar abajo","EN-US":"Thumbs Down"},SUBMIT:{DE:"Abschicken",SV:"Skicka",RU:"Отправить",FI:"Lähetä",PT:"Enviar",KO:"제출","PT-BR":"Enviar",EN:"Submit",IT:"Invia",FR:"Envoyer","RI-GI":"⁪⁪⁪‌​‌‍‌​​‌‌‍‌​‌​‌​​​​‌‌​‌‌‌​‌‌‍​‌‌‌​‍​‍​‍​‌⁪Submit⁪⁪",ES:"Enviar","ZH-CN":"提交","ZH-TW":"提交",PB:"⟦용용 Ŝųьmįţ 歴歴⟧",TH:"ส่ง",JA:"送信",DA:"Send","EN-GB":"Submit",NL:"Verzenden","ES-419":"Enviar","EN-US":"Submit"},SURVEYWILLBESHOWNHERE:{DE:"Umfrage wird hier angezeigt",SV:"Undersökning visas här",RU:"Опрос будет показан здесь",FI:"Kysely näytetään täällä",PT:"O inquérito será apresentado aqui",KO:"설문조사가 여기에 표시됩니다.","PT-BR":"A pesquisa será exibida aqui",EN:"Survey will be shown here",IT:"Il sondaggio sarà mostrato qui",FR:"L'enquête sera affichée ici.","RI-GI":"⁪⁪⁪‌​‌‍‌​​‌‌‍‌​‌​‌​​​​‌‌​‌‌‌​‌‌‍​‌‌‌​‍​‍​‍​‌⁪Survey will be shown here",ES:"La encuesta se mostrará aquí","ZH-CN":"调查将显示在此处","ZH-TW":"調查會顯示於此",PB:"⟦용용용용 ŜųѓνęУ ŵįľļ вє śħöώŋ ħéяê 歴歴歴歴⟧",TH:"แบบสำรวจจะแสดงที่นี่",JA:"アンケートはここに表示されます",DA:"Undersøgelsen vises her","EN-GB":"Survey will be shown here",NL:"Enquête wordt hier weergegeven","ES-419":"La encuesta se mostrará aquí","EN-US":"Survey will be shown here",ID:"Survei akan ditampilkan di sini",MS:"Kaji selidik akan ditunjukkan di sini"}};QSI.LocalizationHelper={getTranslationMap:function(e){return n[e]}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r,a=n(5),i=n(47),o=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},s=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o};function u(e){var t=s(Object(a.useState)(null),2),n=t[0],u=t[1],c=Object(a.useMemo)((function(){return Object(i.a)({key:"qualtrics-siteintercept",nonce:window.QSI.config.nonce})}),[]),l=c.flush,d=c.css;return Object(a.useEffect)((function(){return u(e?d(r||(r=o(["\n            ","\n          "],["\n            ","\n          "])),e):null),function(){l()}}),[e]),n}},function(e,t){QSI.LocalizationModule={getBrowserLangs:function(){return navigator.languages},isLocalized:function(e){var t=e.toUpperCase();return null!=QSI.LocalizationHelper.getTranslationMap(t)},getLocalizedString:function(e,t){if(!this.isLocalized(e))return e;var n=QSI.LocalizationHelper.getTranslationMap(e.toUpperCase()),r="";t&&"global-js-var"===t.DetectionMethod&&(r=t.GlobalJsVar);var a=this.getLangToShow(n,r);return null===a?e:n[a]},setUpGetLangToShow:function(e){if(0===Object.keys(e).length)return null;var t=e.Translations;if(!t)return null;var n="";return e.TranslationSettings&&"global-js-var"===e.TranslationSettings.DetectionMethod&&(n=e.TranslationSettings.GlobalJsVar),Object.keys(t).forEach((function(e){t[e].A||delete t[e]})),this.getLangToShow(t,n)},getTranslation:function(e){var t=this.setUpGetLangToShow(e);return t?e.Translations[t]:null},getTranslationCode:function(e){return this.setUpGetLangToShow(e)},getDefaultLang:function(e){return e.TranslationSettings&&e.TranslationSettings.DefaultLang?e.TranslationSettings.DefaultLang:null},getLangToShow:function(e,t){if(t){var n=QSI.strToVal(t);if(n)if(i=this.findLangMatchIfExists(e,n.toUpperCase()))return i}var r=this.getBrowserLangs();if(r&&r[1]){for(var a=0;a<r.length;a++){if(i=this.findLangMatchIfExists(e,r[a]))return i}return null}var i,o=(window.QSI.Browser&&QSI.util.isIE(10)?navigator.browserLanguage:r&&r[0]||navigator.language||navigator.userLanguage).toUpperCase();return i=this.findLangMatchIfExists(e,o)},findLangMatchIfExists:function(e,t){if("ZH-HANS"===t||"ZH-S"===t?t="ZH-CN":"ZH-HANT"!==t&&"ZH-T"!==t||(t="ZH-TW"),e[t=t.toUpperCase()])return t;var n=this.trimLangCode(t);return e[n]?n:null},trimLangCode:function(e){return e.split("-")[0]}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(14),n(11);var r=window.QSI.LocalizationModule},,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(30);var r=window.QSI.EmbeddedData},,,function(e,t){function n(e){return(n="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})(e)}QSI.EmbeddedData&&!window.QTestLib||(QSI.EmbeddedData={getHTMLFromDOM:function(e){var t=QSI.util.$(e),n="";if(t)switch(t.tagName){case"TEXTAREA":case"INPUT":n=t.value;break;default:n=t.innerHTML}return n},getDataLayerVal:function(e){var t=window.QSI.InitializeDataLayerHelper().get(e);return t&&"object"===n(t)&&(t=JSON.stringify(t)),t||""},getCookieVal:function(e){var t="",n=QSI.cookie.get(e);return n&&(t=n),t},getURLParameter:function(e){return QSI.util.getQueryParam(window.location.href,e)},getURLRegexMatch:function(e){var t=e.match(/^\/(.*)\/([gim]*)/);return(t=t&&t[1]?window.location.href.match(new RegExp(t[1],t[2])):window.location.href.match(new RegExp(e)))&&t[1]?t[1]:""},getAdobeMarketingCloudIDJson:function(e){var t="";try{var n=Visitor.getInstance(e).getMarketingCloudVisitorID();t=JSON.stringify({marketingCloudVisitorID:n})}catch(e){QSI.dbg.e(e)}return t},getJavaScriptValue:function(e){var t="";try{if("object"===n(e)&&(e=e.toString()),QSI.runOptions&&QSI.runOptions.jsExpressionValues){var r=QSI.strToVal(e,QSI.runOptions.jsExpressionValues);if(r)return"object"===n(r)&&(r=JSON.stringify(r)),r}if(QSI.global.enableJSSanitization||void 0===QSI.doEvalJS)return QSI.config&&!0===QSI.config.enableSecureVariables?t=QSI.strToVal(e):QSI.dbg.e("Error: JavaScript Evaluation has been disabled. Attempted to execute: '"+e+"'"),t;t=QSI.doEvalJS(e)}catch(e){QSI.dbg.e(e)}return t},getHistory:function(){return QSI.history.get()},getTimeOnSite:function(){return QSI.history.getTimeOnSite()},getCurrentPage:function(){var e;try{e=decodeURI(this.getWindowLocation())}catch(t){e=this.getWindowLocation()}return e},getWindowLocation:function(){return window.location.href},getReferer:function(){return QSI.history.getPageReferrer()},getSiteReferer:function(){return QSI.history.getSiteReferrer()},getSearchTerm:function(){return QSI.history.getSearch()},getPageCount:function(){return QSI.history.getPageCount().unique},getTotalPageCount:function(){return QSI.history.getPageCount().total},getPercentagePageViewed:function(){return QSI.history.getPageCount().unique},getSiteInterceptID:function(){return this.siid},getCreativeID:function(){if(QSI.global.intercepts[this.siid]&&QSI.global.intercepts[this.siid].CreativeID)return QSI.global.intercepts[this.siid].CreativeID},getEventTrackingData:function(e){return QSI.EventTracker.get(e)},getSiteCatalystValue:function(e){for(var t,n=e.split("."),r=QSI.adobeVar.split("."),a=window,i=0;i<r.length;i++)a=a[r[i]];if(0===e.indexOf("event")&&a){var o=e+"=",s=a.events;if(s)for(var u=s.split(","),c=0;c<u.length;c++){var l=u[c],d=l.indexOf(o);if(~d)return l.substring(d+o.length,l.length)}}c=0;for(var f=n.length;c<f;c++){if(a)a=a[(t=n[c]).charAt(0).toLowerCase()+t.slice(1)]||a[n[c]]}return a||""},getUserAgent:function(){return navigator.userAgent},getBrowser:function(){return QSI.Browser.name},getBrowserVersion:function(){return QSI.Browser.version},getOperatingSystem:function(){return QSI.OS.name},getDeviceType:function(){return QSI.Browser.isMobile?"Mobile":"Desktop"},getEmbeddedData:function(e,t){t=t||[],QSI.ed[e]&&(t=t.concat(QSI.ed[e])),this.siid=e;var n=this.generateDynamicEmbeddedData(t);return window.QSI.SR&&window.QSI.SR.getId()&&(n.Q_SR_ID=window.QSI.SR.getId(),n.Q_SR_PlaybackUrl=window.QSI.SR.getPlaybackUrl()),n},getUrlWithEmbeddedData:function(e){var t=e.url,n=e.targetType,r=e.requestId,a=e.interceptId,i=e.ed,o=e.creativeType,s=e.usingPopUnderTarget;if(!t)return"";var u=[QSI.util.creativeTypes.POP_UNDER],c=QSI.util.usePostToStart(n)&&!QSI.util.arrIncludes(u,o)&&!s,l=this.getEmbeddedData(a,i),d=l.Q_TS_ID&&l.Q_TS_RS&&l.Q_EE_ANON?{Q_TS_ID:l.Q_TS_ID,Q_TS_RS:l.Q_TS_RS,Q_EE_ANON:l.Q_EE_ANON}:{},f=c?d:l;return this.mergeEmbeddedDataIntoURL(t,f,r,a,c)},getEmbeddedDataAsArray:function(e,t,n,r){var a=[],i=this.getEmbeddedData(e,n);for(var o in r&&(this.surveyOpenED[e]=i),i){n={key:o,value:i[o]};a.push(n)}var s=this.generateQTouchpoint(t,e);if(s){n={key:"Q_Touchpoint",value:s};a.push(n)}return a},mergeEmbeddedDataIntoURL:function(e,t,n,r,a){var i,o;if(-1!==e.indexOf("?")){var s=e.split("?");i=s[0],o=this.getQueryParamsObjectFromString(s[1])}else i=e,o={};for(var u in t)o[u]=t[u];if(!a){var c=this.generateQTouchpoint(n,r);c&&(o.Q_Touchpoint=c)}var l=QSI.util.buildQueryString(o);return l?i+"?"+l:i},generateQTouchpoint:function(e,t){var n;if(e&&window.QSI.Request[e]&&t&&window.QSI.Request[e].Intercepts[t]){var r=window.QSI.Request[e].Intercepts[t].Targeting;r.ContactID&&r.DistributionID&&r.DirectoryID&&(n=r.DistributionID+"_"+r.ContactID+"_"+r.DirectoryID)}return n},getQueryParamsObjectFromString:function(e){var t={};if(!e)return t;for(var n=e.split("&"),r=0;r<n.length;r++){var a=n[r].split("=");t[a[0]]=a[1]}return t},getEmbeddedDataAsQueryStringParam:function(e,t){var n=this.getEmbeddedData(e,t);return 0===Object.keys(n).length?"":QSI.util.buildQueryString(n)},generateDynamicEmbeddedData:function(e){QSI.dbg.log("SI-4479 generateDynamicEmbeddedData start of function.  QSI.ed: "+JSON.stringify(QSI.ed)+"  ed: "+JSON.stringify(e));var t={};"string"==typeof e&&(e=e.split(""));for(var n=0,r=e.length;n<r;n++)try{var a=e[n];if(a.type&&a.name){var i="";switch(a.type){case"StaticVal":i=a.value;break;case"HTML":i=this.getHTMLFromDOM(a.value);break;case"Cookie":i=this.getCookieVal(a.value);break;case"QueryParam":i=this.getURLParameter(a.value);break;case"URLRegex":i=this.getURLRegexMatch(a.value);break;case"JavaScriptVal":i=this.getJavaScriptValue(a.value);break;case"SiteCatalyst":i=this.getSiteCatalystValue(a.value);break;case"EventTracking":i=this.getEventTrackingData(a.value);break;case"AdobeOrgID":i=this.getAdobeMarketingCloudIDJson(a.value);break;case"GoogleDataLayer":i=this.getDataLayerVal(a.value);break;default:this["get"+a.type]?i=this["get"+a.type](a.value):0===a.value.indexOf("JSON.stringify")&&-1!==a.value.indexOf("marketingCloudVisitorID")?(QSI.dbg.log("SI-4479 generateDynamicEmbeddedData Attempting default case getJavaScriptValue fix. QSI.ed: "+JSON.stringify(QSI.ed)+"  set: "+JSON.stringify(a)),i=this.getJavaScriptValue(a.value)):(QSI.dbg.log("SI-4479 generateDynamicEmbeddedData Final else case in default QSI.ed: "+JSON.stringify(QSI.ed)+"  set: "+JSON.stringify(a)),i=a.value)}"XMDContactED"!==a.type&&(i=String(i),t[a.name]=i)}}catch(e){QSI.dbg.e(e)}return t},surveyOpenED:{}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},a=function(){function e(){this.isListening=!1,this.recordedResponseIds={}}return e.prototype.startListening=function(t){var n=this;this.isListening||(this.recordSurveyTakenEvent=function(r,a){var i=a.replace("FS_","R_"),o=r+"_"+i;n.recordedResponseIds[o]||(n.recordedResponseIds[o]=!0,t(e.SURVEY_TAKEN_SIGNAL_NAME,{surveyId:r,surveyResponseId:i}))},this.recordSecureSurveyTakenEvent=function(n){t(e.SURVEY_TAKEN_SIGNAL_NAME,{surveyId:n,surveyResponseId:null,secureSurveyTakenMessage:!0})},this.surveyTakenEventHandler=function(e){e.detail.surveyId&&e.detail.surveySessionId&&n.recordSurveyTakenEvent(e.detail.surveyId,e.detail.surveySessionId)},this.messageEventHandler=function(e){var t,a=e.origin,i=e.data;if(!window.QSI.Orchestrator||!window.QSI.Orchestrator.isMessageEventOriginAllowed||window.QSI.Orchestrator.isMessageEventOriginAllowed(a))if("string"==typeof i&&i.startsWith("QualtricsEOS")){var o=i.match(/^QualtricsEOS\|(SV_[0-9a-zA-Z]{11,15})\|(FS_[0-9a-zA-Z]{11,15})$/);if(!o)return;var s=r(o,3),u=s[1],c=s[2];n.recordSurveyTakenEvent(u,c)}else if("object"==typeof i&&"endOfSurvey"===(null==i?void 0:i.message)){(u=null===(t=i.context)||void 0===t?void 0:t.surveyId)&&n.recordSecureSurveyTakenEvent(u)}},window.addEventListener(e.SURVEY_TAKEN_EVENT_NAME,this.surveyTakenEventHandler),window.addEventListener("message",this.messageEventHandler),this.isListening=!0)},e.prototype.stopListening=function(){this.isListening&&(window.removeEventListener(e.SURVEY_TAKEN_EVENT_NAME,this.surveyTakenEventHandler),window.removeEventListener("message",this.messageEventHandler),this.isListening=!1)},e.SURVEY_TAKEN_SIGNAL_NAME="QualtricsSurveyTaken",e.SURVEY_TAKEN_EVENT_NAME="QSI_survey_taken",e}()},,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(6),a=n(4),i=n(7),o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},s=function(e){var t=o(Object(r.k)(e.legacyCreative),2),n={legacyCreativeVal:t[0],setLegacyCreative:t[1]};return Object(a.h)(i.a,{value:n},e.children)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(5),a=n(7),i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o};function o(e){var t=i(Object(r.useState)(e),2),n=t[0],o=t[1],s=Object(a.b)().legacyCreativeVal;return Object(r.useEffect)((function(){s.setUpdateCreativeFunction((function(e){o(e)}))}),[s,o]),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),a=n(4),i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},o=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function s(e,t,n,s,u){void 0===s&&(s=null),void 0===u&&(u=1);var c=i(Object(r.useState)(null),2),l=c[0],d=c[1],f=i(Object(r.useState)([]),2),g=f[0],S=f[1];return Object(r.useEffect)((function(){var s=[].slice.apply(document.querySelectorAll(n));null!==s&&(s=s.slice(0,u));var c=s.map((function(n){var i=document.createElement("div");return n.appendChild(i),g.push({zone:n,container:i}),Object(r.createPortal)(Object(a.h)(e,{key:n,interceptOptions:t}),i)}));return d(c),S(o([],i(g))),function(){g.forEach((function(e){var t=e.zone,n=e.container;t.removeChild(n)})),S([])}}),[t,n]),Object(r.useEffect)((function(){if(g.length&&s)return g.forEach((function(e){e.container.classList.add(s)})),function(){g.forEach((function(e){e.container.classList.remove(s)}))}}),[g,s]),l}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(6),a=n(31),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},o=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},u=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o};function c(){}function l(e,t,n,l,d,f){var g=this;if(void 0===d&&(d=!1),!window.QSI.global.featureFlags["DX.EmbeddedFeedback_NewAPIs"])return{enqueueResponse:c,closeSurvey:c,surveySession:null,doneMessage:null};var S=u(Object(r.k)([]),1)[0],v=u(Object(r.k)(0),2),h=v[0],b=v[1],y=u(Object(r.k)(null),2),I=y[0],E=y[1],p=u(Object(r.k)(!1),2),m=p[0],T=p[1],w=u(Object(r.k)(!1),2),N=w[0],Q=w[1],L=u(Object(r.k)(!1),2),D=L[0],O=L[1],R=u(Object(r.k)(!1),2),C=R[0],H=R[1],P=u(Object(r.k)(null),2),k=P[0],U=P[1],A=Object(r.h)((function(){return function(e){var t;return(null!==(t=window.QSI.config.surveyTakingBaseURL)&&void 0!==t?t:"https://s.qualtrics.com/spoke/all/jam")+"/unauthenticated-headless-api/v1/forms/"+e}(e)}),[e]),j=Object(r.a)((function(e){S.push(e),b(h+1)}),[]),V=Object(r.a)((function(){T(!0)}),[]),_=Object(r.a)((function(){return o(g,void 0,void 0,(function(){var t,n,r,i,o,u,c;return s(this,(function(s){switch(s.label){case 0:Q(!0),s.label=1;case 1:return s.trys.push([1,4,,5]),t={},n={},S.forEach((function(e){Object.assign(t,e.embeddedData),Object.assign(n,e.recordedResponse)})),r=I.sessionId,i=I.apiUrls.sessionUpdateUrl,o={sessionId:r,advance:!0,embeddedData:t,responses:n},[4,fetch(""+i,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)})];case 2:return[4,s.sent().json()];case 3:if((u=s.sent()).error)throw""+u.desc;return u.done?U(u.done):u.questions&&u.questions.length&&(T(!1),Q(!1),E(u)),window.dispatchEvent(new CustomEvent(a.a.SURVEY_TAKEN_EVENT_NAME,{detail:{surveyId:e,surveySessionId:r}})),window.QSI.history.logSurvey(e,r),[3,5];case 4:return c=s.sent(),window.QSI.dbg.e("Error closing survey "+e+": "+c.toString()),H(!0),[3,5];case 5:return[2]}}))}))}),[I,e]),B=Object(r.a)((function(){return o(g,void 0,void 0,(function(){var r,a,o,u,c,d,g,S,v,h,b;return s(this,(function(s){switch(s.label){case 0:O(!0),s.label=1;case 1:return s.trys.push([1,4,,5]),r=f?f():{},a=i({},r),n&&t&&(o=window.QSI.Request[n].Intercepts[t].Targeting||{},u=o.ContactID,c=o.DistributionID,d=o.DirectoryID,u&&c&&d&&(a.Q_Touchpoint=c+"_"+u+"_"+d)),g="",l&&(g="?Q_SurveyVersionID="+l),S=window.QSI.config.brandId||window.QSI.global.brandID||window.location.host,v="Q_BRANDID="+encodeURIComponent(S),0==g.length?g+="?"+v:g+="&"+v,{embeddedData:a},[4,fetch(A+"/sessions"+g,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({embeddedData:a})})];case 2:return[4,s.sent().json()];case 3:if((h=s.sent()).error)throw""+h.desc;return E(h),window.QSI.config.surveySessionId=h.sessionId,[3,5];case 4:return b=s.sent(),H(!0),window.QSI.dbg.e("Error starting survey session for survey "+e+": "+b.toString()),[3,5];case 5:return[2]}}))}))}),[E,e,f,n,t]);return Object(r.d)((function(){C||I||D||!S.length&&!d||B()}),[I,D,h,C,d]),Object(r.d)((function(){C||I&&m&&S.length&&!N&&_()}),[I,m,N,C]),{enqueueResponse:j,closeSurvey:V,surveySession:I,doneMessage:k}}}]]);
} catch(e) {
  if (typeof QSI !== 'undefined' && QSI.dbg && QSI.dbg.e) {
    QSI.dbg.e(e);
  }
}