PageSourceSearch

https://www.polestar.com/36834221284/web3-static/d51220852e8329375…95768b2d6f09a195de0-77860923eaeeea7970b1.js

js polestar.com collected 2026-10-01 08:54:44 UTC 22,941 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkpolestar_www=self.webpackChunkpolestar_www||[]).push([[5664],{44517:function(_,e,t){t.d(e,{DF:function(){return l},K_:function(){return r},b$:function(){return i},cT:function(){return o},hH:function(){return c},hN:function(){return E},hw:function(){return a},oB:function(){return n},pS:function(){return s}});let n=function(_){return _.WEB_SECTION_ONE_VIDEO="web_section_one_video",_.WEB_SECTION_ONE_IMAGE="web_section_one_image",_.WEB_SECTION_GRID_TILES="web_section_two_grid_tile",_.WEB_SECTION_ACCORDION="web_section_accordion",_.WEB_SECTION_BIG_TITLE_WITH_QUOTE="web_section_big_title_with_quote",_.WEB_SECTION_CINEMATIC_VIDEO="web_section_cinematic_video",_.WEB_SECTION_DESIGN_BRIEF="web_section_design_brief",_.WEB_SECTION_FULL_WIDTH_EXPANDABLE_VIDEO="web_section_full_width_expandable_video",_.WEB_SECTION_CINEMATIC_IMAGE="web_section_cinematic_image",_.WEB_SECTION_FULL_WIDTH_IMAGE="web_section_full_width_image",_.WEB_SECTION_WIDESCREEN_IMAGE="web_section_widescreen_image",_.WEB_SECTION_FULL_WIDTH_VIDEO="web_section_full_width_video",_.WEB_SECTION_IMAGE_GALLERY="web_section_image_gallery",_.WEB_SECTION_GALLERY_WITH_THUMBNAILS="web_section_gallery_with_thumbnail",_.WEB_SECTION_LIST_TWO_COLUMN="web_section_list_two_column",_.WEB_SECTION_PE
1RSONAL_VIDEO="web_section_personal_video",_.WEB_SECTION_PROGRESS_VIDEO="web_section_progress_video",_.WEB_SECTION_RICH_TEXT="web_section_rich_text",_.WEB_SECTION_RICH_TEXT_WITH_USPS="web_section_rich_text_with_usp",_.WEB_SECTION_SUMMARY_LIST="web_section_summary_list",_.WEB_SECTION_SWIPEABLE_TABLE="web_section_swipeable_table",_.WEB_SECTION_TABLE_CUSTOMER_SERVICE="web_section_table_customer_service",_.WEB_SECTION_TABLE_TWO_COLUMN="web_section_table_two_column",_.WEB_SECTION_TEXT_BLOCK="web_section_text_block",_.WEB_SECTION_STICKY_BAR="web_section_sticky_bar",_.WEB_SECTION_STICKY_BAR_COMPACT="web_section_sticky_bar_compact",_.WEB_SECTION_CTA_REWORK="web_section_cta_rework",_.WEB_SECTION_LIST="web_section_list",_.WEB_SECTION_QUICK_RESPONSE_CODE="web_section_quick_response_code",_.WEB_SECTION_BANNER="web_section_banner",_.WEB_SECTION_LIST_THEME="web_section_list_theme",_.WEB_SECTION_TABLE="web_section_table",_.WEB_SECTION_TEXT_OVER_IMAGE="web_section_text_over_image",_.WEB_SECTION_TEXTUAL_LIST="web_section_textual_list",_.WEB_SECTION_TEXTUAL_LIST_TWO_COLUMNS="web_section_textual_list_two_columns",_.WEB_SECTION_USP="web_section_usp",_.WEB_SECTION_DOWNLOAD_APP_ONE_IMAGE="web_section_download_app_one_image",_.WEB_SECTION_DOWNLOAD_APP="web_section_download_app",_.WWW_SECTION_TEXTUAL_LIST_TWO_COLUMNS="www_section_textual_list_two_columns",_.WEB_WWW_COMPARISON_TABLE="web_www_comparison_table",_.WEB_BANNER_NOTIFICATION_BAR="web_banner_notification_bar",_.WEB_SECTION_COMPARISON="web_section_comparison",_.WEB_SECTION_COMPARISON_TABLE="web_section_comparison_table",_.WEB_SECTION_TEXTUAL_LIST_TWO_COLUMN="web_section_textual_list_two_column",_.WEB_SECTION_ONE_IMAGE_COMPACT="web_section_one_image_compact",_.WEB_SECTION_LINK_LIST="web_section_link_list",_.WEB_SECTION_BULLET_LIST="web_section_bullet_list",_.WEB_SECTION_CTA="web_section_cta",_.WEB_SECTION_VIDEO="web_section_video",_.WEB_SECTION_EVENTS="web_section_event",_.WEB_SECTION_EXPERIMENTAL_GALLERY="web_section_experimental_gallery",_.WEB_SECTION_VIDEO_CARDS="web_section_video_card",_.WEB_SECTION_IMAGE_CARDS="web_section_image_card",_.WEB_SECTION_QUOTE="web_section_quote",_.WEB_SECTION_VIDEO_THUMBNAIL_LIST="web_section_video_thumbnail_list",_.WEB_SECTION_VIDEO_CONTENT_OVERLAY="web_section_video_content_overlay",_.WEB_SECTION_HIGHLIGHT="web_section_highlight",_.WEB_SECTION_NEWS_LIST="web_section_news_list",_.WEB_SECTION_GRID_TILE="web_section_grid_tile",_.WEB_SECTION_CLOSED_CONTENT="web_www_closed_content",_.WEB_SECTION_SUBSCRIPTION_CARDS="web_section_subscription_card",_.WEB_SECTION_IS_INCLUDED_TABLE="web_section_is_included_table",_.WEB_SECTION_PDP_CONFIGURATOR="web_section_pdp_configurator",_.WEB_SECTION_PDP_PANORAMIC_ROOF="web_section_pdp_panoramic_roof",_.WEB_SECTION_STATS_GROUP="web_section_stats_group",_.WWW_NEWS_IMAGE_SECTION="www_news_image_section",_.WWW_NEWS_IMAGES_SECTION="www_news_images_section",_.WWW_NEWS_GALLERY_SECTION="www_news_gallery_section",_.WWW_NEWS_TEXT_SECTION="www_news_text_section",_.WWW_NEWS_TEXT_SECTION_WITH_QUOTE="www_news_text_section_with_quote",_.WWW_NEWS_TEXT_SECTION_WITH_INFORMATION="www_news_text_section_with_information",_.WWW_NEWS_VIDEO_SECTION="www_news_video_section",_.WEB_FULLSCREEN_VIDEO_ARIA_LABEL="web_fullscreen_video_aria_label",_.WEB_SECTION_IMAGE_SEQUENCE_WITH_SLIDES="web_section_image_sequence_with_slide",_.WEB_IMAGE_SEQUENCE_SLIDE_TITLE="web_image_sequence_slide_title",_.WEB_IMAGE_SEQUENCE_SLIDE_BODY="web_image_sequence_slide_body",_.WEB_IMAGE_SEQUENCE_SLIDE_STATS="web_image_sequence_slide_stat",_.WEB_IMAGE_SEQUENCE_SLIDE_INTERACTIVE_3D="web_image_sequence_slide_interactive_three_dimensional",_.WEB_SECTION_WIPING="web_section_wiping",_.WEB_SECTION_MEDIA_GALLERY="web_section_media_gallery",_.WEB_SECTION_THUMBNAIL_LIST="web_section_thumbnail_list",_.WEB_SECTION_IMAGE_MOTION_SLIDE="web_section_image_motion_slide",_.WEB_SECTION_HANDOFF="web_section_handoff",_.WEB_SECTION_CAROUSEL_SPECIAL="web_section_carousel_special",_.WEB_SECTION_FULLSCREEN_IMAGE_GALLERY="web_section_fullscreen_image_gallery",_.WEB_SECTION_SPLIT_SCREEN_CAROUSEL_SPECIAL="web_section_split_screen_carousel_special",_.WEB_SECTION_SPLIT_SCREEN_CAROUSEL="web_section_split_screen_carousel",_.WEB_SECTION_PDP_PANNING_IMAGE="web_section_pdp_panning_image",_.WEB_SECTION_TILE="web_section_tile",_.WEB_SECTION_PDP_TABLE="web_section_pdp_table",_.WEB_SECTION_DOWNLOAD_LIST="web_section_download_list",_.WEB_SECTION_SPECIFICATION_TITLE="web_section_specification_title",_.WEB_SECTION_SPECIFICATION_SUBTITLE="web_section_specification_subtitle",_.WEB_SECTION_SPECIFICATION_THUMBNAIL_LIST="web_section_specification_thumbnail_list",_.WEB_SECTION_KEY_VALUE_LIST="web_section_key_value_list",_.WEB_SECTION_STATS_COMPARISON_TABLE="web_section_stats_comparison_table",_.WEB_SECTION_FULLSCREEN_IMAGE_WITH_CONTENT_OVERLAY="web_section_fullscreen_image_with_content_overlay",_.WEB_SECTION_IMAGE_WITH_CONTENT_OVERLAY="web_section_image_with_content_overlay",_.WEB_SECTION_HAND_OFF_WITH_CARDS="web_section_hand_off_with_card",_.WEB_SECTION_HAND_OFF_WITH_TEXT_CARDS="web_section_hand_off_with_text_card",_.WEB_SECTION_DIVIDER="web_section_divider",_}({}),o=function(_){return _.WEB_SHARED_CONTACT_FORM="web_shared_contact_form",_.WEB_SHARED_CONTACT_FORM_LABEL="Contact form",_.WEB_SHARED_GDPR_FORM="web_shared_gd
1pr_form",_.WEB_SHARED_FLEET_INTEREST_FORM="web_shared_fleet_interest_form",_.WEB_SHARED_RETURN_CANCELLATION_FORM="web_shared_return_cancellation_form",_.WEB_SHARED_CCPA_FORM="web_shared_ccpa_form",_.WEB_SHARED_DATA_RIGHTS_FORM="web_shared_data_rights_form",_.WEB_SHARED_RETURN_CAR_DETAILS_FORM="web_shared_return_car_details_form",_.WEB_SHARED_FORM_FIELD_GROUP="web_shared_form_field_group",_.WEB_SHARED_AFFINITY_FORM="web_shared_affinity_form",_.WEB_SHARED_SUBSCRIPTION_FORM="web_shared_subscription_form",_}({}),i=function(_){return _.LEADS_FORM_FULL_NAME="leads_form_full_name",_.LEADS_FORM_EMAIL_ADDRESS="leads_form_email_address",_.LEADS_FORM_PHONE_NUMBER="leads_form_phone_number",_.LEADS_FORM_NEWSLETTER_OPT_IN="leads_form_newsletter_opt_in",_.LEADS_FORM_SILENT_NEWSLETTER_OPT_IN="leads_form_silent_newsletter_opt_in",_.LEADS_FORM_CITY="leads_form_city",_.LEADS_FORM_LANGUAGE="leads_form_language",_.LEADS_FORM_ZIPCODE="leads_form_zipcode",_.LEADS_FORM_ADDRESS="leads_form_address",_.LEADS_FORM_COUNTRY="leads_form_country",_.LEADS_FORM_MESSAGE="leads_form_message",_.LEADS_FORM_ROLE="leads_form_role",_.LEADS_FORM_PRIVACY_POLICY="leads_form_privacy_policy",_.LEADS_FORM_PAYMENT_OPTION="leads_form_payment_option",_.LEADS_FORM_TITLE="leads_form_title",_.LEADS_FORM_DIVIDER="leads_form_divider",_.SOURCE="source",_.RETURN_CAR_FORM_DATES_UK="form_field_return_car_dates_uk",_.RETURN_CAR_FORM_DATES_INTL="form_field_return_car_dates_international",_}({}),r=function(_){return _.SHARED_SUPPORT_OPENING_TIME="shared_support_opening_time",_.SHARED_SUPPORT_SPECIAL_OPENING_TIME="shared_support_special_opening_time",_.SHARED_SUPPORT_OPENING_TIME_OPEN24H="shared_support_opening_time_open24h",_.SHARED_SUPPORT_SPECIAL_OPENING_TIME_OPEN24H="shared_support_special_opening_time_open24h",_}({}),a=function(_){return _.QUICK_HELP_PANEL="quick_help_panel",_.CASE_CATEGORY="case_category",_}({}),E=function(_){return _.WEB_HERO_TEXTUAL="web_hero_textual",_.WEB_HERO_PARALLAX_WITH_MODULAR_SECTION="web_hero_parallax_with_modular_section",_.WEB_WWW_HERO_PARALLAX="web_www_hero_parallax",_.WEB_HERO_TEXT_OVER_IMAGE="web_hero_text_over_image",_.WEB_HERO_WITH_IMAGE="web_hero_with_image",_.WEB_WWW_HERO_INTERACTIVE_VIDEO="web_www_hero_interactive_video",_.WEB_SECTION_ONE_IMAGE="web_section_one_image",_.WEB_PDP_HERO_FEATURE="web_pdp_hero_feature",_.WEB_SECTION_IMAGE_SEQUENCE_WITH_SLIDES="web_section_image_sequence_with_slide",_.WEB_SECTION_IMAGE_WITH_CONTENT_OVERLAY="web_section_image_with_content_overlay",_}({}),c=function(_){return _.WWW_MODAL_BUTTON="www_modal_button",_.WEB_SHARED_DIALOG_BUTTON="web_shared_dialog_button",_.WWW_BUTTON="www_button",_.WEB_SHARED_BUTTON_WITH_DATALAYER="web_shared_button_with_datalayer",_.WWW_BUTTON_DOWNLOAD="www_button_download",_.WEB_MODAL_VIDEO_BUTTON="web_modal_video_button",_.WEB_BUTTON_WITH_CONSENT="web_button_with_consent",_.WWW_CTA_DROPDOWN="www_cta_dropdown",_}({}),s=function(_){return _.WEB_WWW_VIDEO_AUTOPLAY="web_www_video_autoplay",_.WEB_WWW_VIDEO_AUTOPLAY_WITH_LAST_FRAME="web_www_video_autoplay_with_last_frame",_.WEB_WWW_RESPONSIVE_IMAGE="web_www_responsive_image",_}({}),l=function(_){return _.WEB_WWW_MEDIA_CARD="web_www_media_card",_.WEB_WWW_TEXT_CARD="web_www_text_card",_.WEB_WWW_TEXT_CARD_WITH_CTA="web_www_text_card_with_cta",_}({})},24193:function(_,e,t){t.d(e,{L:function(){return n.LD},k:function(){return n.kD}});var n=t(98981)},98981:function(_,e,t){t.d(e,{kD:function(){return r},Gq:function(){return c},up:function(){return T},LD:function(){return l},O5:function(){return S},p$:function(){return u},TB:function(){return A},_c:function(){return C},ae:function(){return d},ZK:function(){return L},Hx:function(){return b},fj:function(){return m},lF:function(){return R},T3:function(){return U},Nb:function(){return v},e8:function(){return G}});var n=t(6177),o=t(44517),i=t(62773);function r(_,e,t){if(null==_||!_._modelApiKey||!e)return;let r;switch(_._modelApiKey){case o.hH.WEB_BUTTON_WITH_CONSENT:r=T(_,e);break;case o.hH.WEB_SHARED_BUTTON_WITH_DATALAYER:r=A(_,e);break;case o.hH.WEB_SHARED_DIALOG_BUTTON:r=C(_,e);break;case o.hH.WWW_MODAL_BUTTON:r=m(_,e);break;case o.hH.WWW_BUTTON_DOWNLOAD:r=d(_);break;default:r=c(_,e,t)}return{...r,href:(0,i.A)(r.href||"",(0,n.A)().isChina)}}var a=t(82109),E=t(91912);const c=({url:_,target:e,iconType:t,...n},o,i)=>{const r=e?s(e):null;return{...n,...r,icon:t||void 0,href:(0,a.rm)(_,o),eventLabel:n.eventLabel||void 0,dataLayer:i?{event:E.cE.CTA_CLICK,eventInfo:{action:`${i}_cta_click`,label:`${n.eventLabel||"unknown"}|${_}`}}:void 0}},s=_=>"New tab"===_?{target:"_blank",rel:"noreferrer noopener"}:{},l=(_,e,t)=>_.map(_=>r(_,e,t)),T=({button:_,consentLabel:e},t)=>({...r(_,t),consentLabel:e});function u(_,e,t){if(!_)return;const{event:n,category:o,action:i,label:r,analyticsAction:a,analyticsLabel:c}=_;if(!(!!t||!!a||!!n&&!!o&&!!i))return;const s={event:E.cE.CTA_CLICK,eventInfo:{action:`${t}_cta_click`,label:`${e||"unknown"}`}},l={event:E.cE.DATA_CTA,eventInfo:{action:a||"unknown",label:String(c||e)}},T={event:n,eventInfo:{category:o,action:i,label:String(r||e)}};return t?s:a?l:T}var I=t(24193),O=t(10412);const S=(_,e)=>{if((0,O.A)(_)||Array.isArray(_))return _.map(_=>(0,I.k)(_,e)).filter(_=>!!_)},A=({button:_,dataLayer:e,analyticsAction:t,analyticsLabel:n},o)=>{const i={event:(null==e?void 0:e.event)||"",category:(null==e?void 0:e.category)||"",action:(null==e?void 0:e.action)||"",label:(null==e?void 0:e.label)||"",analyticsAction:t,analyticsLabel:n};return{...r(_,o),dataLayer:u(i,_.eventLabel||void 0)}};var N=t(47169);var w=(_,e)=>({open:!1,type:N.hs.DEFAULT_DIALOG,title:_.title,body:_.body,buttons:_.buttons.map(_=>(0,I.k)(_,e)),closeButtonAriaLabel:_.closeButtonAriaLabel||void 0});const C=({id:_,label:e,dialog:t,_modelApiKey:n},o)=>({_modelApiKey:n,id:_,label:e,dialog:{...w(t,o),open:!1}});const d=({iconType:_,file:e,...t})=>({...t,icon:_||void 0,href:e.url});function p(_){return function(_){if(_<0||_>1)throw new Error("Value must be a decimal between 0 and 1")}(_),100*_+"%"}const W=_=>`${p(Number(null==_?void 0:_.x)||.5)} ${p(Number(null==_?void 0:_.y)||.5)}`;function L(_,e=""){var t,n;if(_)return{src:_.url,alt:_.alt||e||void 0,objectPosition:`${W({x:null===(t=_.focalPoint)||void 0===t?void 0:t.x,y:null===(n=_.focalPoint)||void 0===n?void 0:n.y})}`}}const b=_=>
1_&&{..._,image:_.image&&{..._.image,url:_.image.url&&`${_.image.url}?auto=format&w=1200&h=630&fit=crop&q=35`}},f=(_,e,t)=>{const n=e.reduce((_,e)=>`${_}/${e.slug}`,"");return(0,a.rm)(`${n}/${_}`,t)},m=({page:_,...e},t)=>{const n=_.localizedParentPages.length>0?_.localizedParentPages:_.parentPage;return{...e,eventLabel:e.eventLabel||void 0,hasModal:!0,icon:"plus",href:f(_.slug,n,t)}},R=_=>{if(!_)return;const e={};return e.name=_.name||void 0,e.description=_.description||void 0,e.uploadDate=_.uploadDate||void 0,e};var B=t(96590),g=t(81733);const D=_=>{const e=_.split(/[\s:|.]+/);if(/^([0-5]?[0-9]):([0-5][0-9])(.[0-9][0-9]?[0-9])?$/.test(_)&&e.length>=2)switch(e.length){case 3:return 60*+e[0]+ +e[1]+ +e[2]*(e[2].length>2?.001:.01);case 2:return 60*+e[0]+ +e[1];default:return 0}throw new Error("Timestamp should match the required format mm:ss.ttt, mm:ss.tt or mm:ss")};var h=t(53328);const P={left:B.YX.start,center:B.YX.center,right:B.YX.end},M={top:B.VV.start,center:B.VV.center,bottom:B.VV.end},U=(_,e)=>_.map(({subtitle:_,button:t,horizontalAlignment:n,verticalAlignment:o,startTime:i,endTime:r,color:a,size:E,...c})=>({...c,subtitle:_||void 0,cta:t?(0,I.k)(t,e):void 0,horizontalAlignment:P[n],verticalAlignment:M[o],startTime:D(i),endTime:D(r),theme:a===h.BD.DARK?g.N.light:g.N.dark,size:E||void 0})).sort((_,e)=>_.startTime-e.startTime);function v(_,e){return _?{id:_.id,format:_.format,mimeType:_.mimeType,url:_.url,schema:R(e)}:void 0}const G=(_,e)=>{const t=[];return(_.videoDesktopMp4||_.videoTabletMp4||_.videoMobileMp4)&&t.push({desktop:v(_.videoDesktopMp4,e),tablet:v(_.videoTabletMp4),mobile:v(_.videoMobileMp4)}),t}},82109:function(_,e,t){t.d(e,{dd:function(){return c},hg:function(){return r},rm:function(){return E},tb:function(){return a},uT:function(){return i}});var n=t(6177),o=t(62773);t(57799);const i=_=>_.replace(/^\/|\/$/g,""),r=_=>"/"===_.charAt(_.length-1)?_:`${_}/`,a=_=>"/"===_.charAt(0)?_:`/${_}`,E=(_="",e="")=>{const{isChina:t}=(0,n.A)(),i=(0,o.A)(_||"",t);if(i.match(/^[a-z0-9+.-]+:/i))return i;if(i.startsWith("#"))return i;const a=0===i.indexOf("/"),E=i.includes("?"),[c,s]=i.split(/#(.*)/);let l=c;return a||(l=`/${l}`),l=`/${e}${l}`,E||(l=r(l)),s&&(l=[l,s].join("#")),l};const c=_=>`${(0,n.A)().wwwSiteUrl}/www-images${_}`},91912:function(_,e,t){t.d(e,{YR:function(){return o},Yl:function(){return r},cE:function(){return n},cK:function(){return i}});let n=function(_){return _.SIGNUP_ERROR="Signup.Error",_.SIGNUP_SUCCESS="Signup.Success",_.BREADCRUMB_CLICK="breadcrumb.click",_.EXPERIMENT_ACTIVATE="experiment.activate",_.ACCORDION_OPEN="accordion.open",_.VIRTUAL_PAGE_PAGE_UPDATE="virtualPagePath.update",_.VIRTUAL_PAGE_VIEW="virtualPageView",_._404="404",_.PDP_MODAL_CLOSE="pdp.modal.close",_.PDP_MINICONFIG_CHOOSE="pdp.miniconfig.choose",_.PDP_MINICONFIG_EXT_CHOOSE="pdp.miniconfig_ext.choose",_.PDP_SCROLLANIMATION_START="pdp.scrollanimation.start",_.PDP_SCROLLANIMATION_END="pdp.scrollanimation.end",_.ELEMENT_VISIBILITY="section.elementVisibility",_.CAROUSEL_LOAD="carousel.load",_.CAROUSEL_SPIN="carousel.spin",_.DRAWER_LINK_CLICK="click",_.GALLERY_SWIPE="image.swipe",_.CALCULATOR="calculator",_.DATA_CTA="data_cta",_.PS3_PDP="ps3_pdp",_.PS3_MENU="ps3_menu",_.PS2_PDP="ps2_pdp",_.PS2_MENU="ps2_menu",_.PS4_PDP="ps4_pdp",_.PS4_MENU="ps4_menu",_.PS5_PDP="ps5_pdp",_.PS5_MENU="ps5_menu",_.CTA_CLICK="cta_click",_.BUY_BUTTON_DROPDOWN="buy_button_dropdown",_}({}),o=function(_){return _.CATEGORY_CLICK="category_click",_.LINK_CLICK="link_click",_.MENU_CLICK="menu_click",_.IMAGE_SWIPE="image_swipe",_.LIGHT_CONFIGURATOR="light_configurator",_.LIGHT_CONFIGURATOR_EXTERIOR="light_configurator_exterior",_.SUB_NAVIGATION_CLICK="sub_navigation_click",_.SUB_NAVIGATION_DROPDOWN_CLICK="sub_navigation_dropdown_click",_.STICKY_CTA_CLICK="sticky_cta_click",_.OPEN_DROPDOWN_CLICK="open_dropdown_click",_.DROPDOWN_CTA_CLICK="dropdown_cta_click",_.FEATURES_NAVIGATION_CLICK="features_navigation_click",_.IN_PAGE_NAVIGATION_CLICK="in_page_navigation_link_click",_.MINI_CONFIGURATOR_EXTERNAL="mini_config",_.OPEN_COMPARISON_CTA_CLICK="open_comparison_cta_click",_}({}),i=function(_){return _.MENU="menu",_.PS_SUBSCRIPTION="ps_subscription",_}({}),r=function(_){return _.MENU_OPEN="menu_open",_.MENU_CLOSED="menu_closed",_.REQUEST="request",_.UNKNOWN="unknown",_}({})},41151:function(_,e,t){var n=t(9319),o=t(57799);const i=(_,e,t)=>t?`${_.languageCode}-CN`:e?"en":`${_.languageCode}-${_.countryCode}`,r=(_,e,t)=>{const n=new URL(_);return n.pathname=n.pathname.replace(e,t),(0,o.s9)(t)&&(n.hostname=n.hostname.replace(".com",".cn")),n.href};e.A=(_,e,t)=>{const a=(0,o.y7)(e.locale),E=_.includes("polestar.cn");return[{hrefLang:i(e,a,E),href:_}].concat((0,n.A)(t.flatMap(t=>{const n=(0,o.y7)(t.locale),a=[];return a.push({hrefLang:i(t,(0,o.y7)(t.locale),E),href:r(_,e.locale,t.locale)}),n&&a.push({hrefLang:"x-default",href:r(_,e.locale,t.locale)}),a})))}},6480:function(_,e,t){t.d(e,{Eo:function(){return c},UQ:function(){return a},iJ:function(){return E}});var n=t(9319),o=t(92546),i=t(79474),r=t(91912);const a=_=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({team:"dotcom",service:"dotcom.www",..._})},E=(_,e)=>{(0,i.useEffect)(()=>{_&&a({event:r.cE.VIRTUAL_PAGE_PAGE_UPDATE,path:[].concat((0,n.A)((null==e?void 0:e.map(_=>_.slug))||[]),[_])})},[])},c=(_,e,t,n)=>{const{0:E,1:c}=(0,i.useState)(!!n),s=(e+t)/2,l=()=>
1{a({event:r.cE.PDP_SCROLLANIMATION_START})},T=()=>{a({event:r.cE.PDP_SCROLLANIMATION_END})};return(0,o.A)(()=>{let n=!1;const o=_.on("change",_=>{E&&(n?_===e?(l(),n=!1):_===t&&(T(),n=!1):(n=!0,_<s?l():T()))});return()=>{o()}},[_,E]),c}},62773:function(_,e){const t=["","www"];e.A=(_,e)=>{if(!e)return _;const n=_.split("polestar.com")[0].replace(/^https?:\/\//,"").replace(/\./g,"");return t.includes(n)?_.replace(/polestar\.com/,"polestar.cn"):_}},57799:function(_,e,t){t.d(e,{J5:function(){return r},s9:function(){return o},y7:function(){return i}});var n=t(36458);const o=_=>_===n.h.ZH_CN,i=_=>_===n.h.GLOBAL,r=(_,e=!1,t)=>e?"glb"===(null==t?void 0:t.cmsLocale):"glb"===_.cmsLocale},18620:function(_,e,t){t.d(e,{A:function(){return i}});var n=t(6177),o=JSON.parse('[{"url":"/polestar-2-2023/","canonicals":"/polestar-2/"},{"url":"/polestar-2-2023/exterior/","canonicals":"/polestar-2/exterior/"},{"url":"/polestar-2-2023/interior/","canonicals":"/polestar-2/interior/"},{"url":"/polestar-2-2023/interior/software-apps/","canonicals":"/polestar-2/interior/"},{"url":"/polestar-2-2023/interior/software-apps/in-car-apps/","canonicals":"/polestar-2/interior/"},{"url":"/polestar-2-2023/interior/software-apps/the-polestar-app/","canonicals":"/polestar-2/interior/"},{"url":"/polestar-2-2023/long-range-dual-motor/","canonicals":"/polestar-2/performance/"},{"url":"/polestar-2-2023/long-range-single-motor/","canonicals":"/polestar-2/performance/"},{"url":"/polestar-2-2023/performance-software-upgrade/","canonicals":"/polestar-2/upgrades/"},{"url":"/polestar-2-2023/performance-pack/","canonicals":"/polestar-2/upgrades/"},{"url":"/polestar-2-2023/performance-pack/adjusting-the-ohlins-dampers/","canonicals":"/polestar-2/upgrades/"},{"url":"/polestar-2-2023/performance-pack/lowering-kit/","canonicals":"/polestar-2/upgrades/"},{"url":"/polestar-2-2023/performance/","canonicals":"/polestar-2/performance/"},{"url":"/polestar-2-2023/performance/specifications/","canonicals":"/polestar-2/specifications/"},{"url":"/polestar-2-2023/pilot-pack/","canonicals":"/polestar-2/upgrades/"},{"url":"/polestar-2-2023/plus-pack/","canonicals":"/polestar-2/upgrades/"},{"url":"/polestar-2-2023/polestar-2-standard-features/","canonicals":"/polestar-2/specifications/"},{"url":"/polestar-2-2023/range-and-charging/","canonicals":"/polestar-2/range-and-charging/"},{"url":"/polestar-2-2023/range-and-charging/home-or-work/","canonicals":"/polestar-2/range-and-charging/"},{"url":"/polestar-2-2023/range-and-charging/numbers/","canonicals":"/polestar-2/range-and-charging/"},{"url":"/polestar-2-2023/range-and-charging/on-the-road/","canonicals":"/polestar-2/range-and-charging/"},{"url":"/polestar-2-2023/safety-features/","canonicals":"/polestar-2/safety/"},{"url":"/polestar-2-2023/safety-features/driver-assistance-systems/","canonicals":"/polestar-2/safety/"},{"url":"/polestar-2-2023/standard-range-single-motor/","canonicals":"/polestar-2/performance/"}]');var i=(_,e,t)=>{if(!(t=t||(0,n.A)().siteUrl))throw new Error("Unable to determine origin.");let{pathname:i}=_;i.endsWith("index.html")&&(i=i.replace("index.html","")),i.endsWith("/")||(i+="/");const r=t+i,a=o.find(_=>`${t}/${null==e?void 0:e.locale}${_.url}`===r);return a?`${t}/${null==e?void 0:e.locale}${a.canonicals}`:r}},44719:function(_,e,t){t.d(e,{U:function(){return r}});var n=t(79474),o=t(91912),i=t(6480);const r=({dataLayer:_={}})=>n.useCallback(()=>{(0,i.UQ)(_)},[]);e.A=({title:_,url:e,dataLayer:t={}})=>{n.useEffect(()=>{let n={};_&&e?n={event:o.cE.VIRTUAL_PAGE_VIEW,"page title":_}:e||0!==Object.keys(t).length||(n={event:o.cE._404,referrer:window.location.href}),(0,i.UQ)({...n,...t})},[])}},96466:function(_,e,t){t.d(e,{m:function(){return i}});var n=t(41025),o=t(98981);const i=()=>{const _=(0,n.GR)("249058227"),{_site:e}=_.datocms;if(!e.globalSeo||!e.globalSeo.fallbackSeo.image)throw new Error("Sharing image is missing on the `en` locale in Dato under  Content > Settings > Manage Global Settings > Global SEO settings.");return(0,o.Hx)({..._.site.siteMetadata,image:e.globalSeo.fallbackSeo.image})}},36458:function(_,e,t){t.d(e,{h:function(){return n}});let n=function(_){return _.FR_BE="fr-be",_.NL_BE="nl-be",_.DK="dk",_.DE="de",_.FR_LU="fr-lu",_.NL="nl",_.NO="no",_.DE_CH="de-ch",_.FR_CH="fr-ch",_.IT_CH="it-ch",_.FI="fi",_.SE="se",_.UK="uk",_.AT="at",_.EN_CA="en-ca",_.FR_CA="fr-ca",_.US="us",_.AU="au",_.HK="hk",_.KR="kr",_.NZ="nz",_.EN_SG="en-sg",_.ZH_CN="zh-cn",_.EN_KW="en-kw",_.EN_AE="en-ae",_.GLOBAL="global",_.EN_IL="en-il",_.HE_IL="he-il",_.IS_IS="is-is",_.AR_AE="ar-ae",_.IT="it",_}({})}}]);
2//# sourceMappingURL=d51220852e8329375cddb95768b2d6f09a195de0-77860923eaeeea7970b1.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.