PageSourceSearch

https://citieswithnature.org/wp-content/themes/cwn/dist/scripts/vu…s-PsProfileUpdateHeader.fd6c09f5777b7048.js

js citieswithnature.org collected 2026-10-03 22:55:58 UTC 6,456 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2017,5345],{7433:function(t,e,i){i.r(e),e.default={methods:{formatUrl:function(t,e){return"http://"==t.substring(0,7)||"https://"==t.substring(0,8)?t:(e&&(t="twitter.com/".concat(t)),"https://"+t)}}}},6404:function(t,e,i){i.r(e),i.d(e,{default:function(){return u}});var s=i(20629),o=i(7433);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function n(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){a(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function a(t,e,i){return(e=function(t){var e=function(t,e){if("object"!==c(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var s=i.call(t,e||"default");if("object"!==c(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===c(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var l={name:"PsProfileUpdateHeader",props:{city:{default:null},name:{type:String}},computed:n(n({},(0,s.Se)({authenticated:"authenticated",me:"getMe"})),{},{backgroundImage:function(){return this.city?this.city.city_image_url_large?this.city.city_image_url_large:this.city.info.image?this.city.info.image:this.city.info["img-banner"]?this.city.info["img-banner"]:"/wp-content/themes/cwn/assets/images/raw/bg-promo-04.jpg":this.authenticated&&this.me.cities&&this.me.cities.length&&this.dataReady&&this.me.cities[0].city_image_url_large?this.me.cities[0].city_image_url_large:"/wp-content/themes/cwn/assets/images/raw/bg-promo-04.jpg"},logoImage:function(){return this.city?this.city.info.logo?this.city.info.logo:"/wp-content/themes/cwn/assets/images/raw/placeholder.png?v=2":this.authenticated&&this.me&&this.me.cities&&this.me.cities.length&&this.dataReady&&this.me.cities[0].city_logo.length?this.me.cities[0].city_logo[0].full_url:"/wp-content/themes/cwn/assets/images/raw/placeholder.png?v=2"},dataReady:function(){return!!this.city||this.me&&void 0!==this.me&&void 0!==this.me.cities},countyHasMeta:function(){return this.selectedCity&&this.selectedCity.geopol&&(this.selectedCity.geopol.population||this.selectedCity.geopol.country||this.selectedCity.geopol.region)},selectedCity:function(){return this.city?this.city:this.me.cities[0]},cityName:function(){return this.city?this.name:this.selectedCity?this.selectedCity.name:""}}),mixins:[o.default]},u=(0,i(51900).Z)(l,(function(){var t=this,e=t._self._c;return t.dataReady?e("section",{staticClass:"promo-section-foruser",style:"background-image:url('".concat(t.backgroundImage,"')")},[e("div",{staticClass:"c-background-filter"}),t._v(" "),e("div",{staticClass:"c-title-banner"},[e("div",{staticClass:"container"},[e("div",{staticClass:"c-title-banner__wrapper"},[e("h1",{staticClass:"c-title-banner__title"},[t._v(t._s(t.cityName))]),t._v(" "),e("div",{staticClass:"c-title-banner__subtitle"},[t._v("Pioneer city")])])])]),t._v(" "),e("div",{staticClass:"c-header-content container"},[t._m(0),t._v(" "),e("div",{staticClass:"description-box"},[t.selectedCity?e("div",{staticClass:"row no-gutters"},[e("div",{staticClass:"col-12 col-md-3 col-lg-2 align-items-strech"},[e("div",{staticClass:"image-holder"},[e("img",{attrs:{src:t.logoImage,alt:"Logo for ".concat(t.selectedCity.name,".")}})])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 col-lg-8 align-items-strech"},[e("div",{staticClass:"p-9"},[t._v("\n\t\t\t\t\t\t"+t._s(t.selectedCity.info.description)+"\n\t\t\t\t\t\t"),e("div",{staticClass:"row justify-content-center mt-8 justify-content-sm-between"},[e("div",{staticClass:"col-12 col-md-6 text-center text-sm-left"},[t.selectedCity.website?e("a",{staticClass:"font_16_21 text-tropicaltangerine",attrs:{target:"_blank",href:t.selectedCity.website}},[t._v(t._s(t.selectedCity.website.replace("https://","")))]):t._e()]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 c-city-icons text-center text-sm-right"},[t.selectedCity.info.facebook?e("a",{attrs:{target:"_blank",href:t.formatUrl(t.selectedCity.info.facebook)}},[e("icon-facebook",{attrs:{color:"white"}})],1):t._e(),t._v(" "),t.selectedCity.info.twitter?e("a",{attrs:{target:"_blank",href:t.formatUrl(t.selectedCity.info.twitter)}},[e("icon-twitter",{attrs:{color:"white"}})],1):t._e(),t._v(" "),t.selectedCity.info.instagram?e("a",{attrs:{target:"_blank",href:t.formatUrl(t.selectedCity.info.instagram)}},[e("icon-instagram",{attrs:{color:"white"}})],1):t._e(),t._v(" "),t.selectedCity.info.youtube?e("a",{attrs:{target:"_blank",href:t.formatUrl(t.selectedCity.info.youtube)}},[e("icon-youtube",{attrs:{color:"white"}})],1):t._e()])])])]),t._v(" "),e("div",{staticClass:"col-md-3 col-lg-2 align-items-strech"}
1,[t.countyHasMeta?e("div",{staticClass:"description-info-text row no-gutters"},[t.selectedCity.geopol.population?e("dl",{staticClass:"col-6 col-md-12"},[e("dt",[t._v("Population size")]),t._v(" "),e("dd",[t._v(t._s(t.selectedCity.geopol.population))])]):t._e(),t._v(" "),t.selectedCity.geopol.country?e("dl",{staticClass:"col-6 col-md-12"},[e("dt",[t._v("Country")]),t._v(" "),e("dd",[t._v(t._s(t.selectedCity.geopol.country))])]):t._e(),t._v(" "),t.selectedCity.geopol.region?e("dl",{staticClass:"col-6 col-md-12"},[e("dt",[t._v("Region")]),t._v(" "),e("dd",[t._v(t._s(t.selectedCity.geopol.region))])]):t._e()]):t._e()])]):t._e()]),t._v(" "),e("span",{staticClass:"d-block text-white mt-10 promo-navigation__title font_roboto"},[t._v("Build your city profile")])])]):t._e()}),[function(){var t=this._self._c;return t("ul",{staticClass:"promo-navigation"},[t("li",[t("a",{staticClass:"c-button c-button--style-3",attrs:{href:"/city-profiles"}},[this._v("OTHER CITY PROFILES")])])])}],!1,null,"60107bef",null).exports}}]);
2//# sourceMappingURL=vue-components-headers-PsProfileUpdateHeader.fd6c09f5777b7048.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.