{"version":3,"names":[],"mappings":"","sources":["join-us.js"],"sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i\\n
\\n
\\n

{{ isEnglish ? item.ResumoEN : item.Resumo }}

\\n

{{ isEnglish ? item.TitleEN : item.Title }}

\\n

{{ isEnglish ? item.DescricaoEN : item.Descricao }}

\\n
\\n\\n
\\n
\\n
\\n
\\n
{{ isEnglish ? item.TitleBannerEN : item.TitleBanner }}
\\n
\\n
\\n \\n
\\n
\\n
\\n \\n \",\n methods: {\n getItems: function getItems() {\n var _this = this;\n\n return $pnp.sp.web.getList(this.listURL).items.select(\"*\").filter(\"Ativo eq 1\").orderBy(\"Ordem\").get().then(function (results) {\n Vue.set(_this, 'joinUs', results);\n }).catch(function (err) {\n _this.threatError(err, 'Erro ao obter dados de Join Us');\n });\n },\n threatError: function threatError(err, msg) {\n return swal({\n type: 'error',\n text: msg || err,\n title: \"Oops!\"\n });\n },\n bgBanner: function bgBanner(img) {\n return \"background-image:url('\" + img + \"');background-repeat:no-repeat;backround-size:100%;background-position:center;height:350px;\";\n }\n },\n created: function created() {\n this.getItems();\n }\n});\n\nvar app = new Vue({\n el: \"#join-us\",\n template: \"\"\n});\n\n},{\"../../mixins/translate\":2}],2:[function(require,module,exports){\n\"use strict\";\n\nwindow.translateMixin = {\n methods: {\n changeLanguage: function changeLanguage(value) {\n if (CurrentLanguageDecimal == value) {\n return null;\n }\n\n var today = new Date();\n var oneYear = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000);\n var url = window.location.href;\n document.cookie = \"lcid=\" + value + \";path=/;expires=\" + oneYear.toGMTString();\n location.href = url;\n location.reload();\n },\n changePageTitle: function changePageTitle() {\n var _this = this;\n\n return $pnp.sp.web.getList(this.libraryPagesURL).items.getById(this.idCurrentPage).select(\"Id, Title, TitleEN, Descricao, DescricaoEN, IsDisp\").get().then(function (page) {\n Vue.set(_this, 'infosCurrentPage', page);\n if (!page.IsDisp) {\n\n document.title = _this.isEnglish ? 'Loading...' : 'Carregando...';\n if (_this.isEnglish) {\n if (page.Title == null) {\n document.title = _this.currentTitleBrowser;\n } else {\n document.title = page.TitleEN + \" | \" + _this.currentTitleBrowser;\n }\n } else {\n document.title = page.Title + \" | \" + _this.currentTitleBrowser;\n }\n _this.loadedInfosPage = true;\n }\n }).catch(function (err) {\n console.error(\"\" + (err - 'Erro ao carregar informações da biblioteca de páginas.'));\n });\n }\n },\n data: function data() {\n return {\n isEnglish: CurrentLanguageDecimal == 1033,\n currentLang: CurrentLanguageDecimal,\n libraryPagesURL: _spPageContextInfo.serverRequestPath.toLocaleLowerCase().match(/pages/i) ? '/pages' : 'paginas',\n idCurrentPage: _spPageContextInfo.pageItemId,\n infosCurrentPage: {},\n currentTitleBrowser: _spPageContextInfo.webTitle,\n loadedInfosPage: false\n };\n },\n created: function created() {\n if (this.idCurrentPage && !this.loadedInfosPage) {\n this.changePageTitle();\n }\n }\n};\n\n},{}]},{},[1])\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJzcmMvanMvY29tcG9uZW50cy9pbnRlcm5hcy9qb2luLXVzLmpzIiwic3JjL2pzL21peGlucy90cmFuc2xhdGUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztBQ0NBLEtBQUssS0FBTCxDQUFXO0FBQ1AsYUFBUztBQUNMLGtCQUFVO0FBREw7QUFERixDQUFYOztBQU1BOztBQUVBLElBQUksU0FBSixZQUF3QjtBQ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GVyQnkoYE9yZGVtYClcbiAgICAgICAgICAgICAgICAuZ2V0KCkudGhlbigocmVzdWx0cykgPT4ge1xuICAgICAgICAgICAgICAgICAgICBWdWUuc2V0KHRoaXMsICdqb2luVXMnLCByZXN1bHRzKTtcbiAgICAgICAgICAgICAgICB9KS5jYXRjaCgoZXJyKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMudGhyZWF0RXJyb3IoZXJyLCAnRXJybyBhbyBvYnRlciBkYWRvcyBkZSBKb2luIFVzJyk7XG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgfSxcbiAgICAgICAgdGhyZWF0RXJyb3IoZXJyLCBtc2cpe1xuICAgICAgICAgICAgcmV0dXJuIHN3YWwoe1xuICAgICAgICAgICAgICAgIHR5cGU6ICdlcnJvcicsXG4gICAgICAgICAgICAgICAgdGV4dDogbXNnIHx8IGVycixcbiAgICAgICAgICAgICAgICB0aXRsZTogYE9vcHMhYFxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0sXG4gICAgICAgIGJnQmFubmVyKGltZyl7XG4gICAgICAgICAgICByZXR1cm4gYGJhY2tncm91bmQtaW1hZ2U6dXJsKCcke2ltZ30nKTtiYWNrZ3JvdW5kLXJlcGVhdDpuby1yZXBlYXQ7YmFja3JvdW5kLXNpemU6MTAwJTtiYWNrZ3JvdW5kLXBvc2l0aW9uOmNlbnRlcjtoZWlnaHQ6MzUwcHg7YFxuICAgICAgICB9XG4gICAgfSxcbiAgICBjcmVhdGVkKCkge1xuICAgICAgICB0aGlzLmdldEl0ZW1zKCk7XG4gICAgfSxcbn0pO1xuXG52YXIgYXBwID0gbmV3IFZ1ZSh7XG4gICAgZWw6IGAjam9pbi11c2AsXG4gICAgdGVtcGxhdGU6IGA8am9pbi11cy8+YFxufSk7XG4iLCJ3aW5kb3cudHJhbnNsYXRlTWl4aW4gPSB7XG4gICAgbWV0aG9kczoge1xuICAgICAgICBjaGFuZ2VMYW5ndWFnZSh2YWx1ZSkge1xuICAgICAgICAgICAgaWYgKEN1cnJlbnRMYW5ndWFnZURlY2ltYWwgPT0gdmFsdWUpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdmFyIHRvZGF5ID0gbmV3IERhdGUoKTtcbiAgICAgICAgICAgIHZhciBvbmVZZWFyID0gbmV3IERhdGUodG9kYXkuZ2V0VGltZSgpICsgMzY1ICogMjQgKiA2MCAqIDYwICogMTAwMCk7XG4gICAgICAgICAgICB2YXIgdXJsID0gd2luZG93LmxvY2F0aW9uLmhyZWY7XG4gICAgICAgICAgICBkb2N1bWVudC5jb29raWUgPSBcImxjaWQ9XCIgKyB2YWx1ZSArIFwiO3BhdGg9LztleHBpcmVzPVwiICsgb25lWWVhci50b0dNVFN0cmluZygpO1xuICAgICAgICAgICAgbG9jYXRpb24uaHJlZiA9IHVybDtcbiAgICAgICAgICAgIGxvY2F0aW9uLnJlbG9hZCgpXG4gICAgICAgIH0sXG4gICAgICAgIGNoYW5nZVBhZ2VUaXRsZSgpe1xuICAgICAgICAgICAgcmV0dXJuICRwbnAuc3Aud2ViLmdldExpc3QodGhpcy5saWJyYXJ5UGFnZXNVUkwpLml0ZW1zXG4gICAgICAgICAgICAgICAgLmdldEJ5SWQodGhpcy5pZEN1cnJlbnRQYWdlKVxuICAgICAgICAgICAgICAgIC5zZWxlY3QoYElkLCBUaXRsZSwgVGl0bGVFTiwgRGVzY3JpY2FvLCBEZXNjcmljYW9FTiwgSXNEaXNwYClcbiAgICAgICAgICAgICAgICAuZ2V0KCkudGhlbigocGFnZSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBWdWUuc2V0KHRoaXMsICdpbmZvc0N1cnJlbnRQYWdlJywgcGFnZSk7XG4gICAgICAgICAgICAgICAgICAgIGlmKCFwYWdlLklzRGlzcCl7XG4gICAgICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LnRpdGxlID0gdGhpcy5pc0VuZ2xpc2ggPyAnTG9hZGluZy4uLic6ICdDYXJyZWdhbmRvLi4uJztcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmKHRoaXMuaXNFbmdsaXNoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYocGFnZS5UaXRsZSA9PSBudWxsKXtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQudGl0bGUgPSB0aGlzLmN1cnJlbnRUaXRsZUJyb3dzZXI7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfWVsc2V7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LnRpdGxlID0gYCR7cGFnZS5UaXRsZUVOfSB8ICR7dGhpcy5jdXJyZW50VGl0bGVCcm93c2VyfWA7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfWVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LnRpdGxlID0gYCR7cGFnZS5UaXRsZX0gfCAke3RoaXMuY3VycmVudFRpdGxlQnJvd3Nlcn1gXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmxvYWRlZEluZm9zUGFnZSA9IHRydWVcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICB9KS5jYXRjaCgoZXJyKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuZXJyb3IoYCR7ZXJyIC0gJ0Vycm8gYW8gY2FycmVnYXIgaW5mb3JtYcOnw7VlcyBkYSBiaWJsaW90ZWNhIGRlIHDDoWdpbmFzLid9YClcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICB9XG4gICAgfSxcbiAgICBkYXRhKCkge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgaXNFbmdsaXNoOiBDdXJyZW50TGFuZ3VhZ2VEZWNpbWFsID09IDEwMzMsXG4gICAgICAgICAgICBjdXJyZW50TGFuZzogQ3VycmVudExhbmd1YWdlRGVjaW1hbCxcbiAgICAgICAgICAgIGxpYnJhcnlQYWdlc1VSTDogX3NwUGFnZUNvbnRleHRJbmZvLnNlcnZlclJlcXVlc3RQYXRoLnRvTG9jYWxlTG93ZXJDYXNlKCkubWF0Y2goL3BhZ2VzL2kpID8gJy9wYWdlcycgOiAncGFnaW5hcycsXG4gICAgICAgICAgICBpZEN1cnJlbnRQYWdlOiBfc3BQYWdlQ29udGV4dEluZm8ucGFnZUl0ZW1JZCxcbiAgICAgICAgICAgIGluZm9zQ3VycmVudFBhZ2U6IHt9LFxuICAgICAgICAgICAgY3VycmVudFRpdGxlQnJvd3NlcjogX3NwUGFnZUNvbnRleHRJbmZvLndlYlRpdGxlLFxuICAgICAgICAgICAgbG9hZGVkSW5mb3NQYWdlOiBmYWxzZVxuICAgICAgICB9O1xuICAgIH0sXG4gICAgY3JlYXRlZCgpIHtcbiAgICAgICAgaWYodGhpcy5pZEN1cnJlbnRQYWdlICYmICF0aGlzLmxvYWRlZEluZm9zUGFnZSl7XG4gICAgICAgICAgICB0aGlzLmNoYW5nZVBhZ2VUaXRsZSgpXG4gICAgICAgIH1cbiAgICB9LFxufSJdfQ==\n"],"file":"join-us.js"}