-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
1 lines (1 loc) · 10.5 KB
/
index.js
1
!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,r){var n=r(4),o=n(Object,"create");t.exports=o},function(t,e,r){function n(t,e){for(var r=t.length;r--;)if(o(t[r][0],e))return r;return-1}var o=r(33);t.exports=n},function(t,e,r){function n(t,e){var r=t.__data__;return o(e)?r["string"==typeof e?"string":"hash"]:r.map}var o=r(39);t.exports=n},function(t,e,r){var n=r(18),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e,r){function n(t,e){var r=i(t,e);return o(r)?r:void 0}var o=r(15),i=r(25);t.exports=n},function(t,e,r){var n=r(3),o=n.Symbol;t.exports=o},function(t,e){function r(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=r},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.monthDayRange={1:31,2:29,3:31,4:30,5:31,6:30,7:31,8:31,9:30,10:31,11:30,12:31},e.ZodiacArray=["Monkey","Rooster","Dog","Pig","Rat","Ox","Tiger","Rabbit","Dragon","Snake","Horse","Goat"],e.handleMonths={1:function(t){return t<=19?"Capricorn":"Aquarius"},2:function(t){return t<=18?"Aquarius":"Pisces"},3:function(t){return t<=20?"Pisces":"Aries"},4:function(t){return t<=19?"Aries":"Taurus"},5:function(t){return t<=20?"Taurus":"Gemini"},6:function(t){return t<=20?"Gemini":"Cancer"},7:function(t){return t<=22?"Cancer":"Leo"},8:function(t){return t<=22?"Leo":"Virgo"},9:function(t){return t<=22?"Virgo":"Libra"},10:function(t){return t<=22?"Libra":"Scorpio"},11:function(t){return t<=21?"Scorpio":"Sagittarius"},12:function(t){return t<=21?"Sagittarius":"Capricorn"}}},function(t,e,r){"use strict";var n=r(9);r(44),function(){function t(){return window.location.href.split("#")[0]}function e(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return t.split("%%").reduce(function(t,e,n){return t+e+(r[n]||"")},"")}function r(){var r={tradicional:"",chines:"",nerd:""},o=$("#dataNascimento").datepicker("getDate"),i=i=o.getFullYear(),a=o.getMonth()+1,c=o.getDate(),s=(0,n.getSign)({month:a,day:c}),u=(0,n.getZodiac)(i);switch(s){case"Capricorn":r.tradicional="Capricórnio",r.nerd="Laboratório";break;case"Aquarius":r.tradicional="Aquário",r.nerd="Mundo Melhor";break;case"Pisces":r.tradicional="Peixes",r.nerd="Genialidade";break;case"Aries":r.tradicional="Áries",r.nerd="Máquina do Tempo";break;case"Taurus":r.tradicional="Touro",r.nerd="Serviço Secreto";break;case"Gemini":r.tradicional="Gêmeos",r.nerd="Léguas";break;case"Cancer":r.tradicional="Câncer",r.nerd="Magia";break;case"Leo":r.tradicional="Leão",r.nerd="Grana Preta";break;case"Virgo":r.tradicional="Virgem",r.nerd="Circuitos";break;case"Libra":r.tradicional="Libra",r.nerd="Hiperespaço";break;case"Scorpio":r.tradicional="Escorpião",r.nerd="Meia-morte";break;case"Sagittarius":r.tradicional="Sagitário",r.nerd="Planetário"}switch(u){case"Monkey":r.chines="Macaco";break;case"Rooster":r.chines="Galo";break;case"Dog":r.chines="Cão";break;case"Pig":r.chines="Porco";break;case"Rat":r.chines="Rato";break;case"Ox":r.chines="Boi";break;case"Tiger":r.chines="Tigre";break;case"Rabbit":r.chines="Coelho";break;case"Dragon":r.chines="Dragão";break;case"Snake":r.chines="Serpente";break;case"Horse":r.chines="Cavalo";break;case"Goat":r.chines="Carneiro"}$("#data-escolhida").text(e("%%/%%/%%",c,a,i)),$("#signo-tradicional").text(r.tradicional),$("#signo-chines").text(r.chines),$("#signo-nerd").text(r.nerd);var f=t(),l=e("#HoroFinder - Sou %% no horóscopo tradicional, %% no horóscopo chinês e %% no horóscopo nerd. Descubra você também 😝",r.tradicional,r.chines,r.nerd);new ShareButton({url:f,title:"HoroFinder",description:l,ui:{buttonText:"Compartilhar"},networks:{pinterest:{enabled:!1},reddit:{enabled:!1},linkedin:{enabled:!1},facebook:{enabled:!1},googlePlus:{enabled:!1},email:{enabled:!1}}}).open(),$(".this-share-button").show(),$("#botao-abre-modal").removeClass("d-none"),$("#resultado-modal").modal("toggle")}$("#dataNascimento").datepicker({startView:2,maxViewMode:2,language:"pt-BR",disableTouchKeyboard:!0,immediateUpdates:!0,autoclose:!0}),$("#dataNascimento").on("changeDate",r)}()},function(t,e,r){"use strict";function n(t,e){var r=t.month,n=t.day;if(e||(e=!1),e)return(0,s.birthdayIsntValid)(r,n)?null:c.handleMonths[r](n);if((0,s.birthdayIsntValid)(r,n))throw new Error("Horoscope.js/getSign: month should be numbers 1-12 and days should be numbers between 1-31");return c.handleMonths[r](n)}function o(t,e){if(e||(e=!1),e)return(0,s.yearIsntValid)(t)?null:c.ZodiacArray[t%12];if((0,s.yearIsntValid)(t))throw new Error("Horoscope.js/getZodiac: Year provided isn't valid");return c.ZodiacArray[t%12]}Object.defineProperty(e,"__esModule",{value:!0}),e.getZodiac=e.getSign=void 0;var i=r(10),a=function(t){return t&&t.__esModule?t:{default:t}}(i),c=r(7),s=r(43);e.getSign=(0,a.default)(n),e.getZodiac=(0,a.default)(o)},function(t,e,r){function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(n.Cache||o),r}var o=r(11),i="Expected a function";n.Cache=o,t.exports=n},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(12),i=r(38),a=r(40),c=r(41),s=r(42);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=a,n.prototype.has=c,n.prototype.set=s,t.exports=n},function(t,e,r){function n(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=r(13),i=r(30),a=r(37);t.exports=n},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(14),i=r(26),a=r(27),c=r(28),s=r(29);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=a,n.prototype.has=c,n.prototype.set=s,t.exports=n},function(t,e,r){function n(){this.__data__=o?o(null):{},this.size=0}var o=r(0);t.exports=n},function(t,e,r){function n(t){return!(!a(t)||i(t))&&(o(t)?h:u).test(c(t))}var o=r(16),i=r(22),a=r(6),c=r(24),s=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,f=Function.prototype,l=Object.prototype,p=f.toString,d=l.hasOwnProperty,h=RegExp("^"+p.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=n},function(t,e,r){function n(t){if(!i(t))return!1;var e=o(t);return e==c||e==s||e==a||e==u}var o=r(17),i=r(6),a="[object AsyncFunction]",c="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";t.exports=n},function(t,e,r){function n(t){return null==t?void 0===t?s:c:u&&u in Object(t)?i(t):a(t)}var o=r(5),i=r(20),a=r(21),c="[object Null]",s="[object Undefined]",u=o?o.toStringTag:void 0;t.exports=n},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(e,r(19))},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){function n(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=c.call(t);return n&&(e?t[s]=r:delete t[s]),o}var o=r(5),i=Object.prototype,a=i.hasOwnProperty,c=i.toString,s=o?o.toStringTag:void 0;t.exports=n},function(t,e){function r(t){return o.call(t)}var n=Object.prototype,o=n.toString;t.exports=r},function(t,e,r){function n(t){return!!i&&i in t}var o=r(23),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=n},function(t,e,r){var n=r(3),o=n["__core-js_shared__"];t.exports=o},function(t,e){function r(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var n=Function.prototype,o=n.toString;t.exports=r},function(t,e){function r(t,e){return null==t?void 0:t[e]}t.exports=r},function(t,e){function r(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=r},function(t,e,r){function n(t){var e=this.__data__;if(o){var r=e[t];return r===i?void 0:r}return c.call(e,t)?e[t]:void 0}var o=r(0),i="__lodash_hash_undefined__",a=Object.prototype,c=a.hasOwnProperty;t.exports=n},function(t,e,r){function n(t){var e=this.__data__;return o?void 0!==e[t]:a.call(e,t)}var o=r(0),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===e?i:e,this}var o=r(0),i="__lodash_hash_undefined__";t.exports=n},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(31),i=r(32),a=r(34),c=r(35),s=r(36);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=a,n.prototype.has=c,n.prototype.set=s,t.exports=n},function(t,e){function r(){this.__data__=[],this.size=0}t.exports=r},function(t,e,r){function n(t){var e=this.__data__,r=o(e,t);return!(r<0)&&(r==e.length-1?e.pop():a.call(e,r,1),--this.size,!0)}var o=r(1),i=Array.prototype,a=i.splice;t.exports=n},function(t,e){function r(t,e){return t===e||t!==t&&e!==e}t.exports=r},function(t,e,r){function n(t){var e=this.__data__,r=o(e,t);return r<0?void 0:e[r][1]}var o=r(1);t.exports=n},function(t,e,r){function n(t){return o(this.__data__,t)>-1}var o=r(1);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var o=r(1);t.exports=n},function(t,e,r){var n=r(4),o=r(3),i=n(o,"Map");t.exports=i},function(t,e,r){function n(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=r(2);t.exports=n},function(t,e){function r(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=r},function(t,e,r){function n(t){return o(this,t).get(t)}var o=r(2);t.exports=n},function(t,e,r){function n(t){return o(this,t).has(t)}var o=r(2);t.exports=n},function(t,e,r){function n(t,e){var r=o(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var o=r(2);t.exports=n},function(t,e,r){"use strict";function n(t){return!t||"number"!=typeof t||t.toString().length>4}function o(t,e){return"number"!=typeof t||"number"!=typeof e||t<1||t>12||e<1||e>i.monthDayRange[t]}Object.defineProperty(e,"__esModule",{value:!0}),e.yearIsntValid=n,e.birthdayIsntValid=o;var i=r(7)},function(t,e){}]);