!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a1cc3dbd-769f-42f6-8a83-b74bef63243d",e._sentryDebugIdIdentifier="sentry-dbid-a1cc3dbd-769f-42f6-8a83-b74bef63243d")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"ssrplatform_20240726_2918de7a"},(window.webpackJsonp=window.webpackJsonp||[]).push([["pages-billboard-index~pages-city-index-desktop-index~pages-city-index-mobile-index~pages-epidemic-in~7479468b"],{"6KQzDl":function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return rr}));var n=r("cDf5V2"),i=r.n(n),o=(r("5DmWYC"),r("07d7Qt"),r("+2oPQH"),r("j+VEMy"),r("pNMOM2"),r("4BrfEE"),r("0ougnn"),r("4mDm7A"),r("PKPkDs"),r("3bBZ2v"),r("JfAAnz"),r("sMBOAz"),r("pjDv2m"),r("rB9jbO"),r("TeQFY9"),r("ma9Imd"),r("UxlCbd"),r("oVuXDK"),r("3KgVms"),r("2B1Rek"),r("EnZy8m"),r("yq1kOy"),r("JTJg3T"),r("E9XDuI"),r("tktoO2"),r("pDQqqQ"),r("LKBx8o"),r("Rm1Sfw"),r("zKZeSZ"),r("FZtP4Z"),r("qePVmd"),r("zHFu5d"),r("YKMjgm")),a=r("yvktPW"),l=function(e,t){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},l(e,t)};function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function s(e,t,r,n){var o,a=arguments.length,l=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===("undefined"===typeof Reflect?"undefined":i()(Reflect))&&"function"===typeof Reflect.decorate)l=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(l=(a<3?o(l):a>3?o(t,r,l):o(t,r))||l);return a>3&&l&&Object.defineProperty(t,r,l),l}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t,r){var n=e[t];if(n&&r.hasOwnProperty(t))for(var i=d(t),o=0;oe.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1)return i.map((function(e){return t.replace(/image-set\(/g,e+"image-set(")}))};var r,n=(r=J)&&r.__esModule?r:{default:r};var i=["-webkit-",""]})),ie=m(ne),oe=v((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(n.hasOwnProperty(e)&&i.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],n={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},i={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}})),ae=m(oe),le=v((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e)};var r,n=(r=A)&&r.__esModule?r:{default:r}})),ce=m(le),se=v((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}}));m(se);var de=le,ue=v((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,o,c){if("string"===typeof t&&a.hasOwnProperty(e)){var s=function(e,t){if((0,n.default)(e))return e;for(var i=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),o=0,a=i.length;o-1&&"order"!==u)for(var f=t[d],p=0,g=f.length;p-1)return d;var u=s.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-webkit-|-ms-/.test(e)})).join(",");return e.indexOf("Moz")>-1?u:(o["Webkit"+(0,i.default)(e)]=d,o["Moz"+(0,i.default)(e)]=u,s)}};var r=o(de),n=o(J),i=o(se);function o(e){return e&&e.__esModule?e:{default:e}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},l={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}})),fe=m(ue),pe=["Webkit"],ge=["ms"],ye=["Webkit","ms"],me=["-webkit-","-moz-",""],ve={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};var be=/cross-fade\(/g,he=["-webkit-",""];var we=/filter\(/g,ke=["-webkit-",""];var xe={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};var _e={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},Se={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"};var Ce=["-webkit-","-moz-",""],Oe=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi;var Pe=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(n=(a=l.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(c){i=!0,o=c}finally{try{!n&&l.return&&l.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function je(e){return"number"===typeof e&&!isNaN(e)}function Ve(e){return"string"===typeof e&&e.includes("/")}var Fe=["center","end","start","stretch"],Ae={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},$e={alignSelf:function(e,t){Fe.indexOf(e)>-1&&(t.msGridRowAlign=e)},gridColumn:function(e,t){if(je(e))t.msGridColumn=e;else if(Ve(e)){var r=e.split("/"),n=Pe(r,2),i=n[0],o=n[1];$e.gridColumnStart(+i,t);var a=o.split(/ ?span /),l=Pe(a,2),c=l[0],s=l[1];""===c?$e.gridColumnEnd(+i+ +s,t):$e.gridColumnEnd(+o,t)}else $e.gridColumnStart(e,t)},gridColumnEnd:function(e,t){var r=t.msGridColumn;je(e)&&je(r)&&(t.msGridColumnSpan=e-r)},gridColumnStart:function(e,t){je(e)&&(t.msGridColumn=e)},gridRow:function(e,t){if(je(e))t.msGridRow=e;else if(Ve(e)){var r=e.split("/"),n=Pe(r,2),i=n[0],o=n[1];$e.gridRowStart(+i,t);var a=o.split(/ ?span /),l=Pe(a,2),c=l[0],s=l[1];""===c?$e.gridRowEnd(+i+ +s,t):$e.gridRowEnd(+o,t)}else $e.gridRowStart(e,t)},gridRowEnd:function(e,t){var r=t.msGridRow;je(e)&&je(r)&&(t.msGridRowSpan=e-r)},gridRowStart:function(e,t){je(e)&&(t.msGridRow=e)},gridTemplateColumns:function(e,t){t.msGridColumns=e},gridTemplateRows:function(e,t){t.msGridRows=e},justifySelf:function(e,t){Fe.indexOf(e)>-1&&(t.msGridColumnAlign=e)}};var Be=["-webkit-",""];var Te={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]};var Ee=["-webkit-","-moz-",""],ze={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},De={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};var We={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},Re={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};var Me=[function(e,t){if("string"===typeof t&&!z(t)&&-1!==t.indexOf("cross-fade("))return he.map((function(e){return t.replace(be,e+"cross-fade(")}))},function(e,t){if("cursor"===e&&ve.hasOwnProperty(t))return me.map((function(e){return e+t}))},function(e,t){if("string"===typeof t&&!z(t)&&-1!==t.indexOf("filter("))return ke.map((function(e){return t.replace(we,e+"filter(")}))},function(e,t,r){"flexDirection"===e&&"string"===typeof t&&(t.indexOf("column")>-1?r.WebkitBoxOrient="vertical":r.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?r.WebkitBoxDirection="reverse":r.WebkitBoxDirection="normal"),Se.hasOwnProperty(e)&&(r[Se[e]]=_e[t]||t)},function(e,t){if("string"===typeof t&&!ee(t)&&Oe.test(t))return Ce.map((function(e){return t.replace(Oe,(function(t){return e+t}))}))},function(e,t,r){if("display"===e&&t in Ae)return Ae[t];e in $e&&(0,$e[e])(t,r)},function(e,t){if("string"===typeof t&&!ee(t)&&t.indexOf("image-set(")>-1)return Be.map((function(e){return t.replace(/image-set\(/g,e+"image-set(")}))},function(e,t,r){if(Object.prototype.hasOwnProperty.call(Te,e))for(var n=Te[e],i=0,o=n.length;i-1&&"order"!==c)for(var s=t[l],d=0,u=s.length;d-1)return o;var a=i.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-webkit-|-ms-/.test(e)})).join(",");return e.indexOf("Moz")>-1?a:(r["Webkit"+d(e)]=o,r["Moz"+d(e)]=a,i)}},function(e,t){if("display"===e&&xe.hasOwnProperty(t))return xe[t]}],Ie=function(e){var t=e.prefixMap,r=e.plugins;return function e(n){for(var i in n){var o=n[i];if(y(o))n[i]=e(o);else if(Array.isArray(o)){for(var a=[],l=0,c=o.length;l0&&(n[i]=a)}else{var s=f(r,i,o,n,t);s&&(n[i]=s),n=u(t,i,n)}}return n}}({prefixMap:{plugins:[q,re,ie,ae,fe],prefixMap:{appearance:["Webkit","Moz","ms"],textEmphasisPosition:ye,textEmphasis:ye,textEmphasisStyle:ye,textEmphasisColor:ye,boxDecorationBreak:ye,maskImage:ye,maskMode:ye,maskRepeat:ye,maskPosition:ye,maskClip:ye,maskOrigin:ye,maskSize:ye,maskComposite:ye,mask:ye,maskBorderSource:ye,maskBorderMode:ye,maskBorderSlice:ye,maskBorderWidth:ye,maskBorderOutset:ye,maskBorderRepeat:ye,maskBorder:ye,maskType:ye,userSelect:ye,backdropFilter:pe,clipPath:pe,hyphens:ye,textOrientation:pe,tabSize:["Moz"],wrapFlow:ge,wrapThrough:ge,wrapMargin:ge,scrollSnapType:ge,scrollSnapPointsX:ge,scrollSnapPointsY:ge,scrollSnapDestination:ge,scrollSnapCoordinate:ge,textSizeAdjust:["ms","Webkit"],flowInto:ge,flowFrom:ge,breakBefore:ge,breakAfter:ge,breakInside:ge,regionFragment:ge,fontKerning:pe,textDecorationStyle:pe,textDecorationSkip:pe,textDecorationLine:pe,textDecorationColor:pe}}.prefixMap,plugins:Me}),He=v((function(e){e.exports=function(){var e=Object.prototype.toString;function t(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function r(e){if(!e)return!0;if(a(e)&&0===e.length)return!0;if("string"!==typeof e){for(var r in e)if(t(e,r))return!1;return!0}return!1}function n(t){return e.call(t)}function o(e){return"object"===i()(e)&&"[object Object]"===n(e)}var a=Array.isArray||function(t){return"[object Array]"===e.call(t)};function l(e){return"boolean"===typeof e||"[object Boolean]"===n(e)}function c(e){var t=parseInt(e);return t.toString()===e?t:e}function s(e){var n,i,s=function e(t){return Object.keys(e).reduce((function(r,n){return"create"===n||"function"===typeof e[n]&&(r[n]=e[n].bind(e,t)),r}),{})};function d(e,t){if(n(e,t))return e[t]}function u(e,t,r,n){if("number"===typeof t&&(t=[t]),!t||0===t.length)return e;if("string"===typeof t)return u(e,t.split(".").map(c),r,n);var o=t[0],a=i(e,o);return 1===t.length?(void 0!==a&&n||(e[o]=r),a):(void 0===a&&("number"===typeof t[1]?e[o]=[]:e[o]={}),u(e[o],t.slice(1),r,n))}return n=(e=e||{}).includeInheritedProps?function(){return!0}:function(e,r){return"number"===typeof r&&Array.isArray(e)||t(e,r)},i=e.includeInheritedProps?function(e,t){"string"!==typeof t&&"number"!==typeof t&&(t=String(t));var r=d(e,t);if("__proto__"===t||"prototype"===t||"constructor"===t&&"function"===typeof r)throw new Error("For security reasons, object's magic properties cannot be set");return r}:function(e,t){return d(e,t)},s.has=function(r,n){if("number"===typeof n?n=[n]:"string"===typeof n&&(n=n.split(".")),!n||0===n.length)return!!r;for(var i=0;i=1?n=2*e.viewSize.layoutWidth:e.viewSize&&e.viewStyle&&e.viewStyle.imgFac&&r&&(n=Math.floor(e.viewStyle.imgFac*r*2)),n&&(!isNaN(e.viewSize.layoutHeight)&&e.viewSize.layoutHeight>=1?i=2*e.viewSize.layoutHeight:e.viewSize.aspectRatio&&(i=Math.floor(n*(1/e.viewSize.aspectRatio)))),n&&i&&n>50&&(t=function(e,t){if(void 0===t&&(t={}),!e.includes("res.klook.com"))return e;var r=[];t.width&&r.push("w_".concat(t.width)),t.height&&r.push("h_".concat(t.height)),t.isFill&&r.push("c_fill");var n=r.length?"/".concat(r.join(",")):"",i=t.sectionStr||"image/upload";return e.replace(i,"".concat(i,"/fl_lossy.progressive,q_auto").concat(n))}(t,{width:n,height:i,isFill:!0}))),t):t;var n,i}var Ze=function(e,t,r){if(void 0===r&&(r=!1),!e||!t)return"";var n="",i=t.match(/\{[^}]+\}/);return i&&i[0]&&(n=r?"".concat(e,""):"".concat(e),n=t.replace(i[0],n)),n},qe=function(e){return Qe.test(e)},Je=function(e){var t=Object.create(null);if(e.direction&&["horizontal","vertical"].includes(e.direction)){t.flexDirection={horizontal:"row",vertical:"column"}[e.direction]}if("horizontal"===e.direction&&e.horizontalDirection&&["ltr","rtl"].includes(e.horizontalDirection)){t.flexDirection={ltr:"row",rtl:"row-reverse"}[e.flexDirection]}if("vertical"===e.direction&&e.verticalDirection&&["up","down"].includes(e.verticalDirection)){t.flexDirection={down:"column",up:"column-reverse"}[e.verticalDirection]}if(e.wrap&&["wrap","nowrap"].includes(e.wrap)){t.flexWrap={wrap:"wrap",nowrap:"nowrap"}[e.wrap]}if(e.mainAxisAlignment&&["start","end","center","spaceBetween","spaceAround","spaceEvenly"].includes(e.mainAxisAlignment)){t.justifyContent={start:"flex-start",end:"flex-end",center:"center",spaceBetween:"space-between",spaceAround:"space-around"}[e.mainAxisAlignment]}if(e.crossAxisAlignment&&["start","end","center","stretch"].includes(e.crossAxisAlignment)){t.alignItems={start:"flex-start",end:"flex-end",center:"center",stretch:"stretch"}[e.crossAxisAlignment]}return t},et=function(e){var t=Object.create(null);if(e.overflow&&["clip","visible"].includes(e.overflow)){t.overflow={clip:"hidden",visible:"visible"}[e.overflow]}return t.position="relative",t},tt=function(e){var t=Object.create(null);return t.position="absolute",(e.left||0===e.left)&&(t.left="".concat(e.left,"px")),(e.top||0===e.top)&&(t.top="".concat(e.top,"px")),(e.right||0===e.right)&&(t.right="".concat(e.right,"px")),(e.bottom||0===e.bottom)&&(t.bottom="".concat(e.bottom,"px")),e.horizontalCenter&&(t.top="50%",t.transform="translateX(-50%)"),e.verticalCenter&&(t.left="50%",t.transform="translateY(-50%)"),t},rt=function(e,t){var r=Object.create(null);if(e.bgImgUrl&&(r.backgroundSize="cover",r.backgroundPosition="center",r.backgroundRepeat="no-repeat",r.backgroundColor="#E9E9E9"),e.bgColor){var n=e.bgColor;if(ct(e.bgColor)&&(n=Ke(n=ut(t,e.bgColor))),n)if(n.startsWith("#"))r.backgroundColor=Ke(n);else{var i=n.split(","),o=i[0],a=i[1],l=i[2],c={1:"to right",2:"to bottom",3:"bottom right",4:"top right"}[o];c&&a&&l&&(r.backgroundImage="linear-gradient(".concat(c,",").concat(a," 0%,").concat(l," 100%)"))}}if(e.bgImgScaleType)switch(e.bgImgScaleType){case"cover":default:r.backgroundSize="cover";break;case"contain":r.backgroundSize="contain";break;case"fill":r.backgroundSize="auto"}return e.bgBlur&&(r.backdropFilter="blur(".concat(e.bgBlur,"px)")),r.borderTopLeftRadius="".concat(e.conerLeftTop||e.coner||0,"px"),r.borderTopRightRadius="".concat(e.conerRightTop||e.coner||0,"px"),r.borderBottomLeftRadius="".concat(e.conerLeftBottom||e.coner||0,"px"),r.borderBottomRightRadius="".concat(e.conerRightBottom||e.coner||0,"px"),e.borderStyle&&(r.borderStyle=e.borderStyle,r.borderWidth="".concat(e.borderWidth||1,"px"),r.borderColor=Ke(e.borderColor||"#ff5722")),r},nt=function(e){var t=Object.create(null),r=e.layoutHeight,n=e.layoutWidth;return r&&(-1===r?t.height="100%":r>0&&r<1?t.height="".concat(100*r,"%"):!isNaN(r)&&r>=1&&(t.height="".concat(r,"px"))),n&&(-1===n?t.width="100%":-2===n?t.width="fit-content":n>0&&n<1?t.width="".concat(100*n,"%"):!isNaN(n)&&n>=1&&(t.width="".concat(n,"px"),t.flexShrink="0")),t.paddingLeft="".concat(e.paddingLeft||e.padding||0,"px"),t.paddingTop="".concat(e.paddingTop||e.padding||0,"px"),t.paddingRight="".concat(e.paddingRight||e.padding||0,"px"),t.paddingBottom="".concat(e.paddingBottom||e.padding||0,"px"),e.aspectRatio&&(t.paddingBottom="".concat(1/e.aspectRatio*100,"%")),t.marginLeft="".concat(e.marginLeft||e.margin||0,"px"),t.marginTop="".concat(e.marginTop||e.margin||0,"px"),t.marginRight="".concat(e.marginRight||e.margin||0,"px"),t.marginBottom="".concat(e.marginBottom||e.margin||0,"px"),t},it=/^(and|or)$/i,ot=function e(t,r){if(!t)return!0;if(i=t.operation,!it.test(i)){var n=ut(r,t.data);return{notEmpty:function(e){return!!e},empty:function(e){return!e},isTrue:function(e){return!0===e||"true"===e},isFalse:function(e){return!1===e||"false"===e}}[t.operation](n)}switch(t.operation){case"and":return e(t.left,r)&&e(t.right,r);case"or":return e(t.left,r)||e(t.right,r)}var i;return!1},at=/<\?(.+?)\?>/g,lt=/<\!(.+?)\!>/g,ct=function(e){return at.test(e)},st=function(e){return lt.test(e)},dt=function(e,t){var r=t.replace(e,"$1");return r||""};function ut(e,t){var r;if(st(t))r=dt(lt,t);else{var n=dt(at,t);n&&(r=He.get(e,n))}return r}function ft(e){return"undefined"!==typeof e&&null!==e}function pt(e,t,r,n,i,o){var a=this,l=Object.create(null);if(l.props={},l.attrs={type:t.type},r&&r.moduleName&&t.spm&&"module"===t.spm.type){var c=ft(r.objectId)?"oid="+r.objectId:"",s=ft(r.index)?"&idx="+r.index:"",d=ft(r.length)?"&len="+r.length:"",u=r.moduleName||"",f=n;if(t.spm.tag){if(u="".concat(r.moduleName,"_").concat(t.spm.tag),s="",d="",Object.assign(f,{idx:r.index,len:r.length}),o&&o[t.spm.tag])(g=o[t.spm.tag]).object_id&&(c="oid=".concat(g.object_id)),g.extra?Object.assign(f,g.extra):r.moduleExt&&Object.assign(f,r.moduleExt)}else r.moduleExt&&Object.assign(f,r.moduleExt);var p=f?"&ext="+encodeURIComponent(JSON.stringify(f)):"";l.attrs["data-spm-module"]="".concat(u,"?").concat(c).concat(s).concat(d).concat(p),l.attrs["data-spm-virtual-item"]="__virtual?typ=entry"}if(t.spm&&"item"===t.spm.type&&t.spm.tag){var g,y=t.spm.tag||"";c="",p="";if(o&&o.items&&o.items[t.spm.tag])c=ft((g=o.items[t.spm.tag]).object_id)?"&oid="+g.object_id:"",p=g.extra?"&ext="+encodeURIComponent(JSON.stringify(g.extra)):"";l.attrs["data-spm-item"]="".concat(y,"?mod=stop").concat(c).concat(p)}if(t.data){var m=ut(e,t.data);"ImageView"===t.type&&(m=Ye(t,m,i)),l.props.data=m}if(t.textViewStyle){var v=t.textViewStyle;t.textViewStyle.textColor&&(ct(t.textViewStyle.textColor)||st(t.textViewStyle.textColor))&&(v.textColor=ut(e,t.textViewStyle.textColor)),l.props.textViewStyle=v}if(t.elementTag&&(l.props.tag=t.elementTag),t.hrefLink){var b=ut(e,t.hrefLink);l.props.hrefLink=b}if(t.sellingPriceViewStyle&&(l.props.sellingPriceViewStyle=t.sellingPriceViewStyle),t.favoriteParams){var h={};Object.keys(t.favoriteParams).forEach((function(r){t.favoriteParams[r]&&(h[r]=ut(e,t.favoriteParams[r]))})),l.props.favoriteParams=h}t.imageViewStyle&&(l.props.imageViewStyle=t.imageViewStyle),t.discountViewStyle&&(l.props.discountViewStyle=t.discountViewStyle),t.generalPriceViewStyle&&(l.props.generalPriceViewStyle=t.generalPriceViewStyle),t.generalTagViewStyle&&(l.props.generalTagViewStyle=t.generalTagViewStyle),t.promotionTagViewStyle&&(l.props.promotionTagViewStyle=t.promotionTagViewStyle),t.couponTagViewStyle&&(l.props.couponTagViewStyle=t.couponTagViewStyle);var w=function(e,t){var r=Object.create(null);"Stack"===e.type&&(r.position="relative",r.overflow="hidden"),"Flex"===e.type&&(r.display="flex",r.overflow="hidden"),e.flexGrow&&(r.flexGrow=""+e.flexGrow),e.viewAction&&(r.cursor="pointer");var n=e.flexStyle?Je(e.flexStyle):null,i=e.stackStyle?et(e.stackStyle):null,o=e.positionedStyle?tt(e.positionedStyle):null,a=e.viewStyle?rt(e.viewStyle,t):null,l=e.viewSize?nt(e.viewSize):null;return Object.assign(r,n,i,o,a,l),Object.keys(r).length>0?Ie(r):null}(t,e);w&&(l.style=w);var k=function(e){return e.viewStyle&&void 0!==e.viewStyle.boxShadow?Xe[e.viewStyle.boxShadow]:e.viewStyle&&e.viewStyle.bgImgUrl?"klk-standard-card-lazy":""}(t);if(k&&(l.staticClass=k),t.viewStyle&&t.viewStyle.bgImgUrl){var x=ut(e,t.viewStyle.bgImgUrl);x&&(x=Ye(t,x,i),l.directives=[{name:"lazy",value:x,arg:"background-image",modifiers:{container:!0}}])}t.viewAction&&(l[qe(t.type)?"nativeOn":"on"]={click:function(r){var n=+new Date,i="undefined"!==typeof arguments?arguments:null,o=function(e){if("undefined"!==typeof __in_house&&__in_house.get_spm_info)try{var t=+new Date-n;e=__in_house.get_spm_info(e,{duration:t,args:i})}catch(r){console.warn("Get spm info error",r)}return e};if(r.stopPropagation(),"DEEP_LINK"===t.viewAction.action){var l=t.viewAction.target&&ut(e,t.viewAction.target)||"blank",c=ut(e,t.viewAction.deepLink);c&&("self"===l?window.location.href=o(o(c)):window.open(o(o(c))))}else if("EVENT"===t.viewAction.action){var s=ut(e,t.viewAction.event);a.$emit("card-event",s)}}});return l}var gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"imageStyle",{get:function(){var e=Object.create(null);if(this.imageViewStyle){switch(this.imageViewStyle.scaleType){case"cover":default:e.backgroundSize="cover";break;case"contain":e.backgroundSize="contain";break;case"fill":e.backgroundSize="auto"}this.imageViewStyle.placeHolder&&(e.backgroundColor="#E9E9E9")}return e},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:String,default:""})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"imageViewStyle",void 0),t=s([o.Component],t)}(o.Vue);var yt,mt=function(e,t,r,n,i,o,a,l,c,s){"boolean"!==typeof a&&(c=l,l=a,a=!1);var d,u="function"===typeof r?r.options:r;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),n&&(u._scopeId=n),o?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=d):t&&(d=a?function(e){t.call(this,s(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,l(e))}),d)if(u.functional){var f=u.render;u.render=function(e,t){return d.call(t),f(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,d):[d]}return r},vt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("div",{directives:[{name:"lazy",rawName:"v-lazy:background-image.container",value:e.data,expression:"data",arg:"background-image",modifiers:{container:!0}}],staticClass:"klk-card-image-view",style:e.imageStyle}):e._e()},staticRenderFns:[]},undefined,gt,undefined,false,undefined,!1,void 0,void 0,void 0),bt={big:24,small:20},ht=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"size",{get:function(){return this.promotionTagViewStyle&&this.promotionTagViewStyle.sizeStyle?this.promotionTagViewStyle.sizeStyle:"big"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"line",{get:function(){return this.promotionTagViewStyle&&this.promotionTagViewStyle.lines?this.promotionTagViewStyle.lines:1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxHeight",{get:function(){var e=bt[this.size];return 1===this.line?e:this.line>1?e*this.line+6*(this.line-1):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WrapperStyle",{get:function(){return this.maxHeight?{maxHeight:"".concat(this.maxHeight,"px"),overflow:"hidden"}:""},enumerable:!1,configurable:!0}),t.prototype.getStyle=function(e){var t=Ke(e.background_color_left),r=Ke(e.background_color_right),n=Ke(e.text_color),i=this.line>1?"6px":0;return"\n background: ".concat(t,";\n background: -moz-linear-gradient(left, ").concat(t," 0%, ").concat(r," 100%);\n background: -webkit-linear-gradient(left, ").concat(t," 0%,").concat(r," 100%);\n background: linear-gradient(to right, ").concat(t," 0%,").concat(r," 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='").concat(t,"', endColorstr='").concat(r,"',GradientType=1 );\n color: ").concat(n,";\n margin-bottom: ").concat(i,"\n ")},s([Object(o.Prop)({type:Array,default:function(){return[]}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Object,default:function(){return{sizeStyle:"big",lines:1}}})],t.prototype,"promotionTagViewStyle",void 0),t=s([o.Component],t)}(o.Vue),wt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"klk-promo-tag-wrapper",style:e.WrapperStyle},[e.data&&e.data.length>0?e._l(e.data,(function(t,n){return r("div",{key:n,staticClass:"klk-promo-tag",class:{"klk-promo-tag--have-icon":t.icon_src,"klk-promo-tag--small":"small"===e.size,"klk-promo-tag--margin":(e.line>1||-1===e.line)&&e.data.length>1},style:e.getStyle(t)},[t.icon_src?r("img",{staticClass:"klk-promo-tag_icon",class:{"klk-promo-tag_icon--small":"small"===e.size},attrs:{src:t.icon_src}}):e._e(),e._v(" "),t.text?r("span",{staticClass:"klk-promo-tag_text"},[e._v(e._s(t.text))]):e._e()])})):e._e()],2)},staticRenderFns:[]},undefined,ht,undefined,false,undefined,!1,void 0,void 0,void 0),kt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"paddingStyle",{get:function(){var e=Object.create(null);return e.paddingTop="".concat(this.placeHolder,"px"),e},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:Object,default:function(){return{star:"",text:""}}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Number,default:0})],t.prototype,"placeHolder",void 0),t=s([o.Component],t)}(o.Vue),xt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("p",{staticClass:"klk-card-participation",style:e.paddingStyle},[e.data.star||0===e.data.star?[r("span",[r("svg",{attrs:{width:"10",height:"10",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",fill:"#F58B1B"}},[r("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.42988 4.5H10.4899C10.9835 4.5 11.188 5.15999 10.789 5.46362L8.32333 7.25625L9.26878 10.3007C9.42151 10.7907 8.88424 11.1989 8.48515 10.8962L6.0097 9.0144L3.53425 10.8962C3.13516 11.1989 2.5988 10.7907 2.75062 10.3007L3.69607 7.25625L1.21081 5.46362C0.811721 5.15999 1.01717 4.5 1.5099 4.5H4.56989L5.52607 1.36817C5.67788 0.877275 6.34152 0.877275 6.49424 1.36817L7.42988 4.5Z"}})])]),e._v(" "),r("span",{staticClass:"klk-card-participation_number"},[e._v(e._s(e.data.star))])]:e._e(),e._v(" "),r("span",{staticClass:"klk-card-participation_desc"},[e._v(e._s(e.data.text))])],2):e._e()},staticRenderFns:[]},undefined,kt,undefined,false,undefined,!1,void 0,void 0,void 0),_t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.formatPicUrl=function(e){return e||"https://res.klook.com/image/upload/v1611304744/ued/Other/Group_871.jpg"},Object.defineProperty(t.prototype,"paddingStyle",{get:function(){var e=Object.create(null);return e.paddingTop="".concat(this.placeHolder,"px"),e},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:Object,default:null})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Number,default:0})],t.prototype,"placeHolder",void 0),t=s([o.Component],t)}(o.Vue),St=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("div",{staticClass:"klk-card-visitor",style:e.paddingStyle},[r("span",{staticClass:"klk-card-visitor_avatar-wrapper"},[r("div",{directives:[{name:"lazy",rawName:"v-lazy:background-image.container",value:e.formatPicUrl(e.data.avatar1,"m_activity_card_xs_160"),expression:"formatPicUrl(data.avatar1,'m_activity_card_xs_160')",arg:"background-image",modifiers:{container:!0}}],staticClass:"klk-card-visitor_avatar-one"}),e._v(" "),r("div",{directives:[{name:"lazy",rawName:"v-lazy:background-image.container",value:e.formatPicUrl(e.data.avatar2,"m_activity_card_xs_160"),expression:"formatPicUrl(data.avatar2,'m_activity_card_xs_160')",arg:"background-image",modifiers:{container:!0}}],staticClass:"klk-card-visitor_avatar-two"}),e._v(" "),r("div",{directives:[{name:"lazy",rawName:"v-lazy:background-image.container",value:e.formatPicUrl(e.data.avatar3,"m_activity_card_xs_160"),expression:"formatPicUrl(data.avatar3,'m_activity_card_xs_160')",arg:"background-image",modifiers:{container:!0}}],staticClass:"klk-card-visitor_avatar-three"})]),e._v(" "),r("span",{staticClass:"klk-card-visitor_fans"},[e._v(e._s(e.data.text))])]):e._e()},staticRenderFns:[]},undefined,_t,undefined,false,undefined,!1,void 0,void 0,void 0),Ct=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.getStyle=function(e){var t=Object.create(null);return e.background_color_left&&""!==e.background_color_left&&e.background_color_right&&""!==e.background_color_right&&(t.background="linear-gradient(95.08deg, ".concat(Ke(e.background_color_left)," 0%,").concat(Ke(e.background_color_right)," 100%)")),e.text_color&&""!==e.text_color&&(t.color=Ke(e.text_color)),t},Object.defineProperty(t.prototype,"paddingStyle",{get:function(){var e=Object.create(null);return e.paddingTop="".concat(this.placeHolder,"px"),e},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Number,default:0})],t.prototype,"placeHolder",void 0),s([Object(o.Prop)({type:Number,default:1})],t.prototype,"line",void 0),t=s([o.Component],t)}(o.Vue),Ot=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("div",{staticClass:"klk-card-price-dot",style:e.paddingStyle},[r("div",{staticClass:"klk-card-price-dot_content"},[e.data.desc?e._l(e.data.desc,(function(t,n){return r("p",{key:n,staticClass:"klk-card-price-dot_desc",class:{"klk-card-price-dot_desc--dot":t.show_index_symbol},style:{color:t.text_color,webkitLineClamp:e.line.toString()}},[e._v("\n "+e._s(t.text)+"\n ")])})):e._e()],2),e._v(" "),e.data.discount_tag&&e.data.discount_tag.text?r("div",{staticClass:"klk-card-price-dot_tag",style:e.getStyle(e.data.discount_tag)},[e._v("\n "+e._s(e.data.discount_tag.text)+"\n ")]):e._e()]):e._e()},staticRenderFns:[]},undefined,Ct,undefined,false,undefined,!1,void 0,void 0,void 0),Pt={big:20,small:18},jt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"size",{get:function(){return this.generalTagViewStyle&&this.generalTagViewStyle.sizeStyle?this.generalTagViewStyle.sizeStyle:"small"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"line",{get:function(){return this.generalTagViewStyle&&this.generalTagViewStyle.lines?this.generalTagViewStyle.lines:1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxHeight",{get:function(){var e=Pt[this.size];return 1===this.line?e:this.line>1?e*this.line+4*(this.line-1):null},enumerable:!1,configurable:!0}),t.prototype.getStyle=function(e){var t=Object.create(null);return e.bg_color&&""!==e.bg_color&&(t.backgroundColor=Ke(e.bg_color)),e.text_color&&""!==e.text_color&&(t.color=Ke(e.text_color)),t},Object.defineProperty(t.prototype,"paddingStyle",{get:function(){var e=Object.create(null);return this.maxHeight&&(e.maxHeight="".concat(this.maxHeight,"px"),e.overflow="hidden"),e.paddingTop="".concat(this.placeHolder,"px"),e},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:Array,default:function(){return[]}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Number,default:0})],t.prototype,"placeHolder",void 0),s([Object(o.Prop)({type:Object,default:function(){return{sizeStyle:"small",lines:1}}})],t.prototype,"generalTagViewStyle",void 0),t=s([o.Component],t)}(o.Vue),Vt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data&&e.data.length>0?r("div",{staticClass:"klk-card-general-tag",style:e.paddingStyle},e._l(e.data,(function(t,n){return r("span",{key:n,staticClass:"klk-card-general-tag_item",class:{"klk-card-general-tag_item--margin":(e.line>1||-1===e.line)&&e.data.length>1},style:e.getStyle(t)},[e._v(e._s(t.text)+"\n ")])})),0):e._e()},staticRenderFns:[]},undefined,jt,undefined,false,undefined,!1,void 0,void 0,void 0),Ft=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getPrice=Ze,t}return c(t,e),t.prototype.getStyle=function(e){var t=Ke(e.background_color_left),r=Ke(e.background_color_right),n=Ke(e.text_color);return"\n background: ".concat(t,";\n background: -moz-linear-gradient(left, ").concat(t," 0%, ").concat(r," 100%);\n background: -webkit-linear-gradient(left, ").concat(t," 0%,").concat(r," 100%);\n background: linear-gradient(to right, ").concat(t," 0%,").concat(r," 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='").concat(t,"', endColorstr='").concat(r,"',GradientType=1 );\n color: ").concat(n,"\n ")},Object.defineProperty(t.prototype,"paddingStyle",{get:function(){var e=Object.create(null);return e.paddingTop="".concat(this.placeHolder,"px"),e},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Number,default:0})],t.prototype,"placeHolder",void 0),s([Object(o.Prop)({type:Object,default:function(){return{pricePosition:"left"}}})],t.prototype,"generalPriceViewStyle",void 0),t=s([o.Component],t)}(o.Vue),At=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("div",{staticClass:"klk-card-price-desc",class:{"klk-card-price-desc--right":e.generalPriceViewStyle.pricePosition&&"right"===e.generalPriceViewStyle.pricePosition},style:e.paddingStyle},[r("div",{staticClass:"klk-card-price-desc_content"},[r("p",{staticClass:"klk-card-price-desc_content-market",style:{textDecoration:e.data.market_price_no_strike?"none":"line-through"}},[e._v("\n "+e._s(e.data.market_price)+"\n ")]),e._v(" "),r("p",{staticClass:"klk-card-price-desc_content-sell",domProps:{innerHTML:e._s(e.getPrice(e.data.selling_price,e.data.selling_price_format,!0))}})]),e._v(" "),e.data.discount_tag&&e.data.discount_tag.text?r("div",{staticClass:"klk-card-price-desc_tag",style:e.getStyle(e.data.discount_tag)},[e._v("\n "+e._s(e.data.discount_tag.text)+"\n ")]):e._e()]):e._e()},staticRenderFns:[]},undefined,Ft,undefined,false,undefined,!1,void 0,void 0,void 0),$t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getPrice=Ze,t}return c(t,e),t.prototype.getStyle=function(e){var t=Ke(e.background_color_left),r=Ke(e.background_color_right),n=Ke(e.text_color);return"\n background: ".concat(t,";\n background: -moz-linear-gradient(left, ").concat(t," 0%, ").concat(r," 100%);\n background: -webkit-linear-gradient(left, ").concat(t," 0%,").concat(r," 100%);\n background: linear-gradient(to right, ").concat(t," 0%,").concat(r," 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='").concat(t,"', endColorstr='").concat(r,"',GradientType=1 );\n color: ").concat(n,"\n ")},s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"data",void 0),t=s([o.Component],t)}(o.Vue),Bt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("div",{staticClass:"card-price-desc-small"},[r("div",{staticClass:"card-price-desc-small_content"},[r("p",{staticClass:"card-price-desc-small_content-market",style:{textDecoration:e.data.market_price_no_strike?"none":"line-through"}},[e._v("\n "+e._s(e.data.market_price)+"\n ")]),e._v(" "),r("p",{staticClass:"card-price-desc-small_content-sell",domProps:{innerHTML:e._s(e.getPrice(e.data.selling_price,e.data.selling_price_format,!0))}})]),e._v(" "),e.data.discount_tag&&e.data.discount_tag.text?r("div",{staticClass:"card-price-desc-small_tag",style:e.getStyle(e.data.discount_tag)},[e._v("\n "+e._s(e.data.discount_tag.text)+"\n ")]):e._e()]):e._e()},staticRenderFns:[]},undefined,$t,undefined,false,undefined,!1,void 0,void 0,void 0),Tt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),s([Object(o.Prop)({type:Object,default:function(){return{title:"",url:""}}})],t.prototype,"data",void 0),t=s([o.Component],t)}(o.Vue),Et=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("a",{staticClass:"seo-title",attrs:{href:e.data.url||""}},[e._v("\n "+e._s(e.data.title||"")+"\n")]):e._e()},staticRenderFns:[]},undefined,Tt,undefined,false,undefined,!1,void 0,void 0,void 0),zt={underLine:"underline",lineThrough:"line-through"},Dt={60:66,44:52,32:42,28:36,24:32,20:26,18:24,16:22,14:20,12:16},Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"textStyle",{get:function(){var e=Object.create(null),t=14;return e.display="inline-block",this.textViewStyle?(this.textViewStyle.textSize&&(e.fontSize="".concat(this.textViewStyle.textSize,"px"),t=Dt[this.textViewStyle.textSize]||1.44*this.textViewStyle.textSize,e.lineHeight="".concat(t,"px")),this.textViewStyle.textColor&&(e.color=Ke(this.textViewStyle.textColor)),this.textViewStyle.bold&&(e.fontWeight="500"),this.textViewStyle.bgColor&&(e.backgroundColor=Ke(this.textViewStyle.bgColor)),this.textViewStyle.maxLine&&(e.maxHeight="".concat(t*this.textViewStyle.maxLine,"px"),e.overflow="hidden",e.textOverflow="ellipsis",e.display="-webkit-box",e.webkitBoxOrient="vertical",e.webkitBoxAlign="start",e.webkitLineClamp=this.textViewStyle.maxLine.toString(),1===this.textViewStyle.maxLine?e.wordBreak="break-all":e.wordBreak="break-word"),this.textViewStyle.lineStyle&&["underLine","lineThrough"].includes(this.textViewStyle.lineStyle)&&(e.textDecoration=zt[this.textViewStyle.lineStyle]),this.textViewStyle.textAlign&&(e.textAlign=this.textViewStyle.textAlign),e):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textContentClass",{get:function(){if(this.textViewStyle.textAlign)switch(this.textViewStyle.textAlign){case"center":return"klk-card-text_content--center";case"left":default:return"klk-card-text_content--left";case"right":return"klk-card-text_content--right"}return"klk-card-text_content--left"},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:String,default:function(){return"span"}})],t.prototype,"tag",void 0),s([Object(o.Prop)({type:String,default:""})],t.prototype,"data",void 0),s([Object(o.Prop)({type:String,default:""})],t.prototype,"hrefLink",void 0),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"textViewStyle",void 0),t=s([o.Component],t)}(o.Vue),Rt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("div",{staticClass:"klk-card-text-custom",class:e.textContentClass},[r(e.tag,{tag:"component",staticClass:"klk-card-text-custom--content",style:e.textStyle},[r("a",{attrs:{href:e.hrefLink},on:{click:function(e){e.preventDefault()}}},[e._v(e._s(e.data))])])],1):e._e()},staticRenderFns:[]},undefined,Wt,undefined,false,undefined,!1,void 0,void 0,void 0),Mt={underLine:"underline",lineThrough:"line-through"},It={60:66,44:52,32:42,28:36,24:32,20:26,18:24,16:22,14:20,12:16},Ht=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"textStyle",{get:function(){var e=Object.create(null),t=14;return e.display="inline-block",this.textViewStyle?(this.textViewStyle.textSize&&(e.fontSize="".concat(this.textViewStyle.textSize,"px"),t=It[this.textViewStyle.textSize]||1.44*this.textViewStyle.textSize,e.lineHeight="".concat(t,"px")),this.textViewStyle.textColor&&(e.color=Ke(this.textViewStyle.textColor)),this.textViewStyle.bold&&(e.fontWeight="500"),this.textViewStyle.bgColor&&(e.backgroundColor=Ke(this.textViewStyle.bgColor)),this.textViewStyle.maxLine&&(e.maxHeight="".concat(t*this.textViewStyle.maxLine,"px"),e.overflow="hidden",e.textOverflow="ellipsis",e.display="-webkit-box",e.webkitBoxOrient="vertical",e.webkitBoxAlign="start",e.webkitLineClamp=this.textViewStyle.maxLine.toString(),1===this.textViewStyle.maxLine?e.wordBreak="break-all":e.wordBreak="break-word"),this.textViewStyle.lineStyle&&["underLine","lineThrough"].includes(this.textViewStyle.lineStyle)&&(e.textDecoration=Mt[this.textViewStyle.lineStyle]),this.textViewStyle.textAlign&&(e.textAlign=this.textViewStyle.textAlign),e):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textContentClass",{get:function(){if(this.textViewStyle.textAlign)switch(this.textViewStyle.textAlign){case"center":return"klk-card-text_content--center";case"left":default:return"klk-card-text_content--left";case"right":return"klk-card-text_content--right"}return"klk-card-text_content--left"},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:String,default:""})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"textViewStyle",void 0),t=s([o.Component],t)}(o.Vue),Lt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("div",{staticClass:"klk-card-text_content",class:e.textContentClass},[r("span",{style:e.textStyle},[e._v(e._s(e.data))])]):e._e()},staticRenderFns:[]},undefined,Ht,undefined,false,undefined,!1,void 0,void 0,void 0),Nt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"formatStyle",{get:function(){var e=Object.create(null);return this.sellingPriceViewStyle?(e.fontSize=(this.sellingPriceViewStyle.formatTextSize||"16px")+"px",e.fontWeight=this.sellingPriceViewStyle.formatTextBold?"500":"normal",e.color=Ke(this.sellingPriceViewStyle.formatColor)||Ke("$neutral-900"),e):null},enumerable:!1,configurable:!0}),t.prototype.formatPrice=function(e,t,r){var n=Ke(r.priceColor)||Ke("$neutral-900"),i=(r.priceTextSize||"12px")+"px",o=r.priceTextBold?500:"normal";if(!e||!t)return"";var a="",l=t.match(/\{[^}]+\}/);return l&&l[0]&&(a='').concat(e,""),a=t.replace(l[0],a)),a},s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"sellingPriceViewStyle",void 0),t=s([o.Component],t)}(o.Vue),Ut=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data&&e.data.selling_price&&e.data.selling_price_format?r("p",{staticClass:"card-price-desc-small_content-sell",style:e.formatStyle,domProps:{innerHTML:e._s(e.formatPrice(e.data.selling_price,e.data.selling_price_format,e.sellingPriceViewStyle))}}):e._e()},staticRenderFns:[]},undefined,Nt,undefined,false,undefined,!1,void 0,void 0,void 0);!function(e){e[e.Favorite=0]="Favorite",e[e.UnFavorite=1]="UnFavorite",e[e.UnLogin=2]="UnLogin"}(yt||(yt={}));var Gt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.status=t.data,t}return c(t,e),t.prototype.changeFavorite=function(){this.status===yt.Favorite?this.status=yt.UnFavorite:this.status=yt.Favorite},t.prototype.favoriteChange=function(){var e=this;if(this.handleFavorite&&this.status!==yt.UnLogin){var t=this.handleFavorite(this.status,this.favoriteParams);t&&(t.then?t.then((function(){e.changeFavorite()})):this.changeFavorite())}},Object.defineProperty(t.prototype,"favoriteImage",{get:function(){return this.status===yt.Favorite?"https://res.klook.com/image/upload/v1625474634/tloihxiv6womaet1qkbl.png":"https://res.klook.com/image/upload/v1625474788/tfx7bujrjf0yv8taqpd8.png"},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:Number,default:function(){return[]}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"favoriteParams",void 0),s([Object(o.Inject)({from:"handleFavoriteFunction",default:null})],t.prototype,"handleFavorite",void 0),t=s([o.Component],t)}(o.Vue),Kt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"klk-card-favorite",on:{click:function(t){return t.stopPropagation(),e.favoriteChange(t)}}},[r("img",{staticClass:"klk-card-favorite_image",attrs:{src:e.favoriteImage}})])},staticRenderFns:[]},undefined,Gt,undefined,false,undefined,!1,void 0,void 0,void 0),Xt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"maxHeight",{get:function(){return 1===this.line?20:this.line>1?20*this.line+4*(this.line-1):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"line",{get:function(){return this.couponTagViewStyle&&this.couponTagViewStyle.lines?this.couponTagViewStyle.lines:1},enumerable:!1,configurable:!0}),t.prototype.getStyle=function(e){var t=Object.create(null);return t.backgroundColor=Ke(e.bg_color)||Ke("$neutral-400"),t.color=Ke(e.text_color)||Ke("$orange-500"),t["--lineColor"]=Ke(e.lineColor)||Ke("$orange-500"),t},Object.defineProperty(t.prototype,"paddingStyle",{get:function(){var e=Object.create(null);return this.maxHeight&&(e.maxHeight="".concat(this.maxHeight,"px"),e.overflow="hidden"),e.paddingTop="".concat(this.placeHolder,"px"),e},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:Array,default:function(){return[]}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Number,default:0})],t.prototype,"placeHolder",void 0),s([Object(o.Prop)({type:Object,default:function(){return{lines:1}}})],t.prototype,"couponTagViewStyle",void 0),t=s([o.Component],t)}(o.Vue),Qt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data&&e.data.length>0?r("div",{staticClass:"klk-card-coupon-tag",style:e.paddingStyle},e._l(e.data,(function(t,n){return r("div",{key:n,staticClass:"klk-card-coupon-tag_item",class:{"klk-card-coupon-tag_item--margin":(e.line>1||-1===e.line)&&e.data.length>1},style:e.getStyle(t)},[r("span",{staticClass:"klk-card-coupon-tag_text"},[e._v(e._s(t.text))])])})),0):e._e()},staticRenderFns:[]},undefined,Xt,undefined,false,undefined,!1,void 0,void 0,void 0),Yt={60:66,44:52,32:42,28:36,24:32,20:26,18:24,16:22,14:20,12:16},Zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),Object.defineProperty(t.prototype,"direction",{get:function(){return this.discountViewStyle&&this.discountViewStyle.direction||"vertical"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"discountStyle",{get:function(){var e=Object.create(null);if(!this.discountViewStyle)return e;var t=Yt[this.discountViewStyle.discountTextSize]||1.44*this.discountViewStyle.discountTextSize;return e.color=Ke(this.discountViewStyle.discountColor),e.fontSize="".concat(this.discountViewStyle.discountTextSize,"px"),e.lineHeight="".concat(t,"px"),this.discountViewStyle.formatTextBold&&(e.fontWeight="500"),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"formatStyle",{get:function(){var e=Object.create(null);if(!this.discountViewStyle)return e;var t=Yt[this.discountViewStyle.formatTextSize]||1.44*this.discountViewStyle.formatTextSize;return e.color=Ke(this.discountViewStyle.formatColor),e.fontSize="".concat(this.discountViewStyle.formatTextSize,"px"),e.lineHeight="".concat(t,"px"),this.discountViewStyle.discountTextBold&&(e.fontWeight="500"),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"discount",{get:function(){if(!this.data||!this.data.discount_format)return{discountTitle:"",discountDesc:""};var e=this.data.discount_format.split("{discount}");return e?{discountTitle:e[0],discountDesc:e[1]}:void 0},enumerable:!1,configurable:!0}),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"discountViewStyle",void 0),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"data",void 0),t=s([o.Component],t)}(o.Vue),qt=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"klk-card-discount-view"},[r("div",{staticClass:"klk-card-discount-view_wrapper"},["vertical"===e.direction?[e.discount.discountTitle?r("p",{staticClass:"klk-card-discount-view_title",style:e.discountStyle},[e._v("\n "+e._s(e.discount.discountTitle)+"\n ")]):e._e(),e._v(" "),r("p",{staticClass:"klk-card-discount-view_discount",style:e.formatStyle},[e._v(e._s(e.data.discount))]),e._v(" "),e.discount.discountDesc?r("p",{staticClass:"klk-card-discount-view_desc",style:e.discountStyle},[e._v("\n "+e._s(e.discount.discountDesc)+"\n ")]):e._e()]:[r("p",{staticClass:"klk-card-discount-view_content",style:e.discountStyle},[e._v(e._s(e.discount.discountDesc)),r("span",{style:e.formatStyle},[e._v(e._s(e.data.discount))]),e._v(e._s(e.discount.discountDesc))])]],2)])},staticRenderFns:[]},undefined,Zt,undefined,false,undefined,!1,void 0,void 0,void 0),Jt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.getStyle=function(e){var t=Ke(e.background_color_left),r=Ke(e.background_color_right),n=Ke(e.text_color);return"\n background: ".concat(t,";\n background: -moz-linear-gradient(left, ").concat(t," 0%, ").concat(r," 100%);\n background: -webkit-linear-gradient(left, ").concat(t," 0%,").concat(r," 100%);\n background: linear-gradient(to right, ").concat(t," 0%,").concat(r," 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='").concat(t,"', endColorstr='").concat(r,"',GradientType=1 );\n color: ").concat(n,"\n ")},s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"data",void 0),t=s([o.Component],t)}(o.Vue),er=mt({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.data?r("span",{staticClass:"klk-card-discount-tag",style:e.getStyle(e.data)},[e._v("\n "+e._s(e.data.text)+"\n")]):e._e()},staticRenderFns:[]},undefined,Jt,undefined,false,undefined,!1,void 0,void 0,void 0),tr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleFavoriteFunction=t.handleFavorite,t}return c(t,e),Object.defineProperty(t.prototype,"inHouseDefaultExt",{get:function(){return{CardID:this.schema.card_id||0,CardName:this.schema.card_name||"",StyleID:this.schema.style_id||0,StyleName:this.schema.style_name||""}},enumerable:!1,configurable:!0}),t.prototype.renderFunc=function(e,t){var r,n=this;return r=t.type,/^(Flex|Stack)$/.test(r)&&ot(t.visibility,this.data)?t.children&&t.children.length>0?e("div",pt.call(this,this.data,t,this.inHouseModule,this.inHouseDefaultExt,this.cropWidth,this.trackInfo),t.children.map((function(t){return n.renderFunc(e,t)}))):e("div",pt.call(this,this.data,t,this.inHouseModule,this.inHouseDefaultExt,this.cropWidth,this.trackInfo)):qe(t.type)&&ot(t.visibility,this.data)?e(function(e){switch(e){case"TextView":return"CardTextView";case"TextViewCustomTag":return"CardTextViewCustomTag";case"ImageView":return"CardImageView";case"ReviewView":return"CardParticipation";case"GeneralTagView":return"CardGeneralTag";case"PromotionTagView":return"CardPromoTag";case"VisitorView":return"CardVisitor";case"GeneralPriceView":return"CardPriceDesc";case"SmallPriceView":return"CardPriceDescSmall";case"DescPriceView":return"CardPriceDot";case"SellingPriceView":return"CardSellPrice";case"Seo":return"CardSeoTitle";case"Favorite":return"CardFavorite";case"CouponTagView":return"CouponTagView";case"DiscountView":return"CardDiscountView";case"CardDiscountTag":return"CardDiscountTag";default:return""}}(t.type),pt.call(this,this.data,t,this.inHouseModule,this.inHouseDefaultExt,this.cropWidth,this.trackInfo)):void 0},t.prototype.render=function(e){return this.schema&&this.schema.style_config?this.renderFunc(e,this.schema.style_config):(console.warn("schema is undefined, plz check it"),e("div"))},s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"data",void 0),s([Object(o.Prop)({type:Number})],t.prototype,"cropWidth",void 0),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"schema",void 0),s([Object(o.Prop)({type:Object,default:function(){}})],t.prototype,"inHouseModule",void 0),s([Object(o.Prop)({type:Object})],t.prototype,"trackInfo",void 0),s([Object(o.Prop)({type:Function,default:null})],t.prototype,"handleFavorite",void 0),s([Object(o.Provide)()],t.prototype,"handleFavoriteFunction",void 0),t=s([Object(o.Component)({components:{CardImageView:vt,CardPromoTag:wt,CardParticipation:xt,CardVisitor:St,CardPriceDot:Ot,CardGeneralTag:Vt,CardPriceDesc:At,CardPriceDescSmall:Bt,CardSeoTitle:Et,CardTextViewCustomTag:Rt,CardTextView:Lt,CardSellPrice:Ut,CardFavorite:Kt,CouponTagView:Qt,CardDiscountView:qt,CardDiscountTag:er}})],t)}(o.Vue),rr=mt({},undefined,tr,undefined,undefined,undefined,!1,void 0,void 0,void 0),nr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURenp6VcjxIwAAAAKSURBVAjXY2AAAAACAAHiIbwzAAAAAElFTkSuQmCC";rr.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.use(a.a,{observer:!0,loading:nr,error:nr,filter:{webp:function(e,t){var r=e.src;if(t.supportWebp){/res\.klook\.com/.test(r)&&(e.src=r.replace(/\.\w+$/,".webp"))}}}}),e.component(t.name||"KlkStandardCard",rr)}}).call(this,r("yLpjYH"))},mXzc4j:function(e,t,r){},zHFu5d:function(e,t,r){"use strict";var n=r("I+eb+g"),i=r("hXpOv+");n({target:"String",proto:!0,forced:r("rwPtlT")("bold")},{bold:function(){return i(this,"b","","")}})}}]); //# sourceMappingURL=pages-billboard-index~pages-city-index-desktop-index~pages-city-index-mobile-index~pages-epidemic-in~7479468b.97b16bc8.chunk.js.map