{"version":3,"sources":["webpack:///./src/modules/TwoColumnTextCollapsableModule/TwoColumnTextCollapsableModule.vue?efab","webpack:///./src/modules/TwoColumnTextCollapsableModule/TwoColumnTextCollapsableModule.ts?7c75","webpack:///./src/modules/TwoColumnTextCollapsableModule/TwoColumnTextCollapsableModule.ts","webpack:///./src/modules/TwoColumnTextCollapsableModule/TwoColumnTextCollapsableModule.vue","webpack:///./src/assets/icons/plus.svg","webpack:///./src/assets/icons/minus.svg"],"names":["hidden","TwoColumnTextCollapsableModule","mounted","module","document","querySelector","getBoundingClientRect","this","ModulePosition","top","window","pageYOffset","toggleFullCopy","scrollTo","behavior","isInBreakpoint","comboText","p","LeftColumnText","RightColumnText","isHidden","split","concat","components","Plus","Minus","extend","props","BackgroundTitle","Title","component","_vm","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","expression","_v","_s","_e","domProps","combinedTextFromColumns","on","$event","attrs","exports","functional","render","data","children","classNames","class","style","staticStyle","rest","Object","assign"],"mappings":"mGAAA,I,kECAkJ,ECyBlJ,uE,OAIE,EAAAA,QAAS,E,EA4BX,OAhC4D,YAAAC,EAAA,GAM1D,YAAAC,QAAA,WACE,IAAMC,EAASC,SAASC,cAAc,gCAAgCC,wBACtEC,KAAKC,eAAiBL,EAAOM,IAAMC,OAAOC,aAG5C,YAAAC,eAAA,WACEL,KAAKP,QAAUO,KAAKP,OAChBO,KAAKP,QACPU,OAAOG,SAAS,CACdJ,IAAKF,KAAKC,eAAiB,GAC3BM,SAAU,YAKhB,sBAAI,uBAAQ,C,IAAZ,WACE,QAAIP,KAAKQ,eAAe,CAAC,KAAM,QAEtBR,KAAKP,Q,gCAIhB,sBAAI,sCAAuB,C,IAA3B,WACE,IAAMgB,EAAYT,KAAKU,EAAEC,eAAiBX,KAAKU,EAAEE,gBACjD,OAAOZ,KAAKa,SAAWJ,EAAUK,MAAM,QAAQ,GAAGC,OAAO,OAAS,OAASN,G,gCA7BrE,aAAP,K,iCACO,aAAP,K,qCAFkBf,EA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AAM,CAAC,EAAI,yH,8CCtB7C9C,EAAO+C,QAAU,CACfC,YAAY,EACZC,OAFe,SAERpB,EAAID,GAAK,IACNG,EAAgCH,EAAhCG,GAAQmB,GAAwBtB,EAA5BW,GAA4BX,EAAxBsB,MADF,EAC0BtB,EAAlBuB,gBADR,MACmB,GADnB,EAILC,EAMLF,EANFG,MACApB,EAKEiB,EALFjB,YACAqB,EAIEJ,EAJFI,MACAC,EAGEL,EAHFK,YAPY,EAUVL,EAFFJ,aARY,MAQJ,GARI,EASTU,EATS,EAUVN,EAVU,uDAYd,OAAOnB,EACL,MADO,GAGLsB,MAAO,CAACD,EAAWnB,GACnBqB,MAAO,CAACA,EAAMC,GACdT,MAAOW,OAAOC,OAAO,CAAC,cAAc,OAAO,QAAU,WAAW,MAAQ,8BAA+BZ,IACpGU,GAELL,EAAShC,OAAO,CAACY,EAAG,OAAO,CAACe,MAAM,CAAC,EAAI","file":"135.2a69978fa85564b1b9f4.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"two-column-collapsible-text module module--mb\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"two-column-collapsible-text__lockup\"},[_c('div',{staticClass:\"two-column-collapsible-text__title-container push-v--mobile--medium\"},[_c('h2',{directives:[{name:\"animate\",rawName:\"v-animate\",value:('revealUp'),expression:\"'revealUp'\"}],staticClass:\"two-column-collapsible-text__title-large text--faded-title text-center\"},[_vm._v(\"\\n \"+_vm._s(_vm.p.BackgroundTitle)+\"\\n \")]),(_vm.p.Title)?_c('h3',{directives:[{name:\"animate\",rawName:\"v-animate\",value:('slideUp'),expression:\"'slideUp'\"}],staticClass:\"two-column-collapsible-text__title-small text-center\"},[_vm._v(\"\\n \"+_vm._s(_vm.p.Title)+\"\\n \")]):_vm._e()]),_c('div',{staticClass:\"two-column-collapsible-text__content-container\"},[_c('div',{staticClass:\"two-column-collapsible-text__content text\"},[_c('div',[_c('div',{directives:[{name:\"animate\",rawName:\"v-animate\",value:('slideUp'),expression:\"'slideUp'\"}],staticClass:\"two-column-collapsible-text__text text--first-letter text--small\",domProps:{\"innerHTML\":_vm._s(_vm.p.LeftColumnText)}}),_c('div',{directives:[{name:\"animate\",rawName:\"v-animate\",value:('slideUp'),expression:\"'slideUp'\"}],staticClass:\"two-column-collapsible-text__text\",domProps:{\"innerHTML\":_vm._s(_vm.p.RightColumnText)}}),_c('div',{directives:[{name:\"animate\",rawName:\"v-animate\",value:('slideUp'),expression:\"'slideUp'\"}],staticClass:\"two-column-collapsible-text__text-mobile text--first-letter push-v--mobile--x-small text--small\",domProps:{\"innerHTML\":_vm._s(_vm.combinedTextFromColumns)}})]),_c('div',{staticClass:\"two-column-collapsible-text__highlights text-center\"},[_c('p',{staticClass:\"text--subheading\",on:{\"click\":function($event){return _vm.toggleFullCopy()}}},[_vm._v(\"\\n Read\\n \"),(_vm.isHidden)?_c('span',[_vm._v(\"more\")]):_c('span',[_vm._v(\"less\")])]),_c('button',{staticClass:\"button button--list\",attrs:{\"aria-pressed\":\"false\",\"aria-label\":\"Toggle full text content\"},on:{\"click\":function($event){return _vm.toggleFullCopy()}}},[(_vm.isHidden)?_c('Plus',{staticClass:\"button--list--svg two-column-collapsible-text__svg\"}):_c('Minus',{staticClass:\"button--list--svg two-column-collapsible-text__svg\"})],1)])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!./TwoColumnTextCollapsableModule.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!./TwoColumnTextCollapsableModule.ts?vue&type=script&lang=ts&\"","import { Component, Vue } from 'vue-property-decorator';\nimport { Getter } from 'vuex-class';\n\nimport { TwoColumnTextCollapsableBlockViewModel } from './TwoColumnTextCollapsableModule.types';\nimport { getComponentProps } from '@/utils/vueUtils';\n\nimport Plus from '@/assets/icons/plus.svg?inline';\nimport Minus from '@/assets/icons/minus.svg?inline';\nimport SizeBreakpoints from '@/common/interfaces/SizeBreakpoints';\n\nconst TwoColumnTextCollapsableModuleProps = Vue.extend({\n props: getComponentProps({\n BackgroundTitle: 'Skillful',\n Title: 'Skilled professionals with extraordinary experience, join them on the bridge anytime.',\n LeftColumnText: `

Our pioneering heritage began in challenging polar waters, and since then, we have been steadfastly committed to maintaining the highest safety standards. On National Geographic Explorer, our captains have earned the distinguished title of Ice Master, skills that enable you to go deeper into the ice for a thrilling experience.

Known as the most experienced and knowledgeable in the industry, our captains create and implement industry standard best practices. They are also vital, engaged members of the expedition community. (In fact, many of our guests treat our open bridges like another lounge, spending hours each day talking with and watching the officers navigate.)

`,\n RightColumnText: `

Our captains and expedition leaders work in tandem to craft the best itinerary possible. In fact, many expedition leaders and captains have worked together for years, or even decades. They share a common purpose and synergy that most companies simply can’t match. Miles apart from how a typical cruise ship operates, where a captain and cruise director operate independently and follow the same weekly routes, the collaboration between our captains and expedition leaders directly enhances the quality of your experience, as they work around weather, ice conditions, or other challenges to get you out on exploring adventures. And, you’ll find them just as excited as you are about a spectacular whale encounter or a gorgeous sunset.

`,\n }),\n});\n\n@Component({\n components: {\n Plus,\n Minus,\n },\n})\nexport default class TwoColumnTextCollapsableModule extends TwoColumnTextCollapsableModuleProps {\n @Getter windowSize!: SizeBreakpoints;\n @Getter isInBreakpoint!: (breakpoints: SizeBreakpoints[] | SizeBreakpoints) => boolean;\n ModulePosition: number;\n hidden = true;\n\n mounted() {\n const module = document.querySelector('.two-column-collapsible-text').getBoundingClientRect();\n this.ModulePosition = module.top + window.pageYOffset;\n }\n\n toggleFullCopy() {\n this.hidden = !this.hidden;\n if (this.hidden) {\n window.scrollTo({\n top: this.ModulePosition - 65,\n behavior: 'smooth',\n });\n }\n }\n\n get isHidden() {\n if (this.isInBreakpoint(['md', 'lg'])) return true;\n else {\n return this.hidden;\n }\n }\n\n get combinedTextFromColumns() {\n const comboText = this.p.LeftColumnText + this.p.RightColumnText;\n return this.isHidden ? comboText.split('

')[0].concat('...') + '

' : comboText;\n }\n}\n","import { render, staticRenderFns } from \"./TwoColumnTextCollapsableModule.vue?vue&type=template&id=4975e99c&\"\nimport script from \"./TwoColumnTextCollapsableModule.ts?vue&type=script&lang=ts&\"\nexport * from \"./TwoColumnTextCollapsableModule.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./TwoColumnTextCollapsableModule.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 37 37\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M19.445 17.444V1a1 1 0 00-2 0v16.444H1a1 1 0 000 2h16.445V35.89a1 1 0 002 0V19.444h16.444a1 1 0 000-2H19.445z\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"viewBox\":\"0 0 12 2\",\"xmlns\":\"http://www.w3.org/2000/svg\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M12 .486v1.028H0V.486z\"}})])\n )\n }\n }\n "],"sourceRoot":""}