PageSourceSearch

https://www.festivalcinepormujeres.com/media/plg_content_ochjssocials/jssocials/js/jssocials.min.js?540a52

js festivalcinepormujeres.com collected 2026-10-02 11:09:22 UTC 12,242 bytes, 5 lines download raw bytes

1/*! jssocials - v1.10.0-och - 2024-12-04
2* http://js-socials.com
3* Copyright (c) 2024 Artem Tabalin; Licensed MIT */
4!function(e,r,t){"use strict";var o="JSSocials",s=function(e,t){return r.isFunction(e)?e.apply(t,r.makeArray(arguments).slice(2)):e},a=/(\.(jpeg|png|gif|bmp|svg)$|^data:image\/(jpeg|png|gif|bmp|svg\+xml);base64)/i,n=/(&?[a-zA-Z0-9]+=)?{([a-zA-Z0-9]+)}/g,l={G:1e9,M:1e6,K:1e3},i={},h={};if("undefined"!=typeof Joomla&&void 0!==Joomla.getOptions&&void 0!==Joomla.getOptions("plg_content_ochjssocials"))h=Joomla.getOptions("plg_content_ochjssocials");function c(e,t){var s=r(e);s.data(o,this),this._$element=s,this.shares=[],this._init(t),this._render()}c.prototype={url:"",text:"",shareIn:"blank",rel:"noopener nofollow noreferrer",showLabel:function(e){return!1===this.showCount?e>this.smallScreenWidth:e>=this.largeScreenWidth},showCount:function(e){return!(e<=this.smallScreenWidth)||"inside"},smallScreenWidth:640,largeScreenWidth:1024,resizeTimeout:200,elementClass:"jssocials",sharesClass:"jssocials-shares",shareClass:"jssocials-share",shareButtonClass:"jssocials-share-button",shareLinkClass:"jssocials-share-link",shareLogoClass:"jssocials-share-logo",shareLabelClass:"jssocials-share-label",shareLinkCountClass:"jssocials-share-link-count",shareCountBoxClass:"jssocials-share-count-box",shareCountClass:"jssocials-share-count",shareZeroCountClass:"jssocials-share-no-count",_init:function(e){this._initDefaults(),r.extend(this,e),this._initShares(),this._attachWindowResizeCallback()},_initDefaults:function(){this.url=e.location.href,this.text=r.trim(r("meta[name=description]").attr("content")||r(document).prop("title"))},_initShares:function(){this.shares=r.map(this.shares,r.proxy((function(e){"string"==typeof e&&(e={share:e});var t=e.share&&i[e.share];if(!t&&!e.renderer)throw Error("Share '"+e.share+"' is not found");return r.extend({url:this.url,text:this.text},t,e)}),this))},_attachWindowResizeCallback:function(){r(e).on("resize",r.proxy(this._windowResizeHandler,this))},_detachWindowResizeCallback:function(){r(e).off("resize",this._windowResizeHandler)},_windowResizeHandler:function(){(r.isFunction(this.showLabel)||r.isFunction(this.showCount))&&(e.clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(r.proxy(this.refresh,this),this.resizeTimeout))},_render:function(){this._clear(),this._defineOptionsByScreen(),this._$element.addClass(this.elementClass),this._$shares=r("<div>").addClass(this.sharesClass).appendTo(this._$element),this._renderShares()},_defineOptionsByScreen:function(){this._screenWidth=r(e).width(),this._showLabel=s(this.showLabel,this,this._screenWidth),this._showCount=s(this.showCount,this,this._screenWidth)},_renderShares:function(){r.each(this.shares,r.proxy((function(e,r){this._renderShare(r)}),this))},_renderShare:function(e){(r.isFunction(e.renderer)?r(e.renderer()):this._createShare(e)).addClass(this.shareClass).addClass(e.share?"jssocials-share-"+e.share:"").addClass(e.css).appendTo(this._$shares)},_createShare:function(e){var t=r("<div>"),o=this._createShareLink(e).appendTo(t);if(this._showCount){var s="inside"===this._showCount,a=s?o:r("<div>").addClass(this.shareCountBoxClass).appendTo(t);a.addClass(s?this.shareLinkCountClass:this.shareCountBoxClass),this._renderShareCount(e,a)}return t},_createShareLink:function(e){var t=this._getShareStrategy(e).call(e,{shareUrl:this._getShareUrl(e),share:e});return t.addClass(this.shareLinkClass).append(this._createShareLogo(e)),this._showLabel&&t.append(this._createShareLabel(e)),r.each(this.on||{},(function(o,s){r.isFunction(s)&&t.on(o,r.proxy(s,e))})),t},_getShareStrategy:function(e){var r=u[e.shareIn||this.shareIn];if(!r)throw Error("Share strategy '"+this.shareIn+"' not found");return r},_getShareUrl:function(e){var r=s(e.shareUrl,e);return this._formatShareUrl(r,e)},_createShareLogo:function(e){var t=e.logo,o=a.test(t)?r("<img>").attr("src",e.logo):r("<i>").addClass(t);return o.addClass(this.shareLogoClass),o},_createShareLabel:function(e){return r("<span>").addClass(this.shareLabelClass).text(e.label)},_renderShareCount:function(e,t){var o=r("<span>").addClass(this.shareCountClass);t.addClass(this.shareZeroCountClass).append(o),this._loadCount(e).done(r.proxy((function(e){e&&(t.removeClass(this.shareZeroCountClass),o.text(e))}),this))},_loadCount:function(e){var t=r.Deferred(),o=this._getCountUrl(e);if(!o)return t.resolve(0).promise();if("ochServerSide"===o){var s=btoa(encodeURIComponent(e.counturl));return void 0!==h[s]?t.resolve(this._getCountValue(h[s][e.share],e)):t.resolve(0).promise()}return t.promise()},_getCountUrl:function(e){var r=s(e.countUrl,e);return this._formatShareUrl(r,e)},_getCountValue:function(e,t){var o=(r.isFunction(t.getCount)?t.getCount(e):e)||0;return"string"==typeof o?o:this._formatNumber(o)},_formatNumber:function(e){return r.each(l,(function(r,t){if(e>=t)return e=parseFloat((e/t).toFixed(2))+r,!1})),e},_formatShareUrl:function(r,t){return r?r.replace(n,(function(r,o,s){var a=t[s]||"";return a?"delimiter"===s?a:(o||"")+e.encodeURIComponent(a):""})):r},_clear:function(){e.clearTimeout(this._resizeTimer),this._$element.empty()},_passOptionToShares:function(e,t){var o=this.shares;r.each(["url","text"],(function(s,a){a===e&&r.each(o,(function(r,o){o[e]=t}))}))},_normalizeShare:function(e){return r.isNumeric(e)?this.shares[e]:"string"==typeof e?r.grep(this.shares,(function(r){return r.share===e}))[0]:e},refresh:function(){this._render()},destroy:function(){this._clear(),this._detachWindowResizeCallback(),this._$element.removeClass(this.elementClass).removeData(o)},option:function(e,r){if(1===arguments.length)return this[e];this[e]=r,this._passOptionToShares(e,r),this.refresh()},shareOption:function(e,r,t){if(e=this._normalizeShare(e),2===arguments.length)return e[r];e[r]=t,this.refresh()}},r.fn.jsSocials=function(e){var t=r.makeArray(arguments).slice(1),s=this;return this.each((function(){var a,n=r(this),l=n.data(o);if(l)if("string"==typeof e){if(undefined!==(a=l[e].apply(l,t))&&a!==l)return s=a,!1}else l._detachWindowResizeCallback(),l._init(e),l._render();else new c(n,e)})),s};var u={onclick:function(e){return r("<a>").attr("href","#").on("click",(function(){return jsSocials.functions[e.share.onClick](e.share,this),!1}))},popup:function(t){return r("<a>").attr("href","#").on("click",(function(){return e.open(t.shareUrl,"","width=600, height=400, location=0, menubar=0, resizeable=0, scrollbars=0, status=0, titlebar=0, toolbar=0"),!1}))},blank:function(e){return r("<a>").attr({target:"_blank",href:e.shareUrl,rel:e.share.rel})},top:function(e){return r("<a>").attr({target:"_top",href:e.shareUrl,rel:e.share.rel})},self:function(e){return r("<a>").attr({target:"_self",href:e.shareUrl,rel:e.share.rel})}};e.jsSocials={Socials:c,shares:i,shareStrategies:u,functions:{},setDefaults:function(e){var t;r.isPlainObject(e)?t=c.prototype:(t=i[e],e=arguments[1]||{}),r.extend(t,e)}}}(window,jQuery),function(e,r,t,o){"use strict";r.extend(t.functions,{copyToClipboard:function(e,r){const t=document.createElement("textarea");t.value=e.data,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t);if(!document.querySelector(".jssocials-toast-container")){const t=document.createElement("div"),o=document.createElement("div");t.classList.add("jssocials-toast-container"),t.appendChild(o).classList.add("toast"),o.innerHTML=e.action,r.parentNode.insertBefore(t,r.nextSibling),setTimeout((function(){t.parentNode.removeChild(t)}),3e3)}return!1},shareToMastodon:function(r,t){var o=localStorage.mastodon_instance;o||(o="https://");var s=prompt(r.prompt,o);if(s&&"https://"!==s&&"http://"!==s){s.startsWith("https://")||s.startsWith("http://")||(s="https://"+s),s.endsWith("/")||(s+="/"),localStorage.mastodon_instance=s;var a=s+"share?text="+encodeURIComponent(r.text+"\n\n"+r.url+"\n\n"+r.mashtags+" "+r.author);e.open(a,"_blank")}return!1}})}(window,jQuery,window.jsSocials),function(e,r,t,o){"use strict";r.extend(t.shares,{email:{label:"E-mail",logo:"fa fa-at",shareUrl:"mailto:{to}?subject={text}&body={url}",countUrl:"",shareIn:"top"},twitter:{label:"Post",logo:"fa fa-twitter",shareUrl:"https://twitter.com/share?url={url}&text={text}&via={via}&hashtags={hashtags}",rel:"noopener nofollow noreferrer",countUrl:""},facebook:{label:"Like",logo:"fa fa-facebook",shareUrl:"https://facebook.com/sharer/sharer.php?u={url}&quote={text}",rel:"noopener nofollow noreferrer",countUrl:"ochServerSide"},googleplus:{label:"+1",logo:"fa fa-google",shareUrl:"https://plus.google.com/share?url={url}",rel:"noopener nofollow noreferrer",countUrl:""},linkedin:{label:"Share",logo:"fa fa-linkedin",shareUrl:"https://www.linkedin.com/shareArticle?mini=true&url={url}&text={text}",rel:"noopener nofollow noreferrer",countUrl:""},pinterest:{label:"Pin it",logo:"fa fa-pinterest",shareUrl:"https://pinterest.com/pin/create/bookmarklet/?media={media}&url={url}&description={text}",rel:"noopener nofollow noreferrer",countUrl:"ochServerSide"},mix:{label:"Collect",logo:"fab fa-mix",shareUrl:"https://mix.com/add?url={url}",rel:"noopener nofollow noreferrer",countUrl:""},pocket:{label:"Pocket",logo:"fa fa-get-pocket",shareUrl:"https://getpocket.com/save?url={url}&title={title}",rel:"noopener nofollow noreferrer",countUrl:""},whatsapp:{label:"WhatsApp",logo:"fa fa-whatsapp",shareUrl:"https://web.whatsapp.com/se
4nd?text={url} {text}",countUrl:"",shareIn:"top"},viber:{label:"Viber",logo:"fa fa-volume-control-phone",shareUrl:"viber://forward?text={url} {text}",countUrl:"",shareIn:"top"},messenger:{label:"Share",logo:"fa fa-commenting",shareUrl:"fb-messenger://share?link={url}",countUrl:"",shareIn:"top"},browser_messenger:{label:"Share",logo:"fa fa-commenting",shareUrl:"https://www.facebook.com/dialog/send?app_id={appid}&link={url}&redirect_uri={redirect}",rel:"noopener nofollow noreferrer",countUrl:"",shareIn:"top"},telegram:{label:"Telegram",logo:"fa fa-telegram",shareUrl:"https://t.me/share/url?url={url}&text={text}",countUrl:"",shareIn:"top"},vkontakte:{label:"Like",logo:"fa fa-vk",shareUrl:"https://vk.com/share.php?url={url}&title={title}&description={text}",rel:"noopener nofollow noreferrer",countUrl:"ochServerSide"},line:{label:"LINE",logo:"fa fa-comment",shareUrl:"https://line.me/R/msg/text/?{text} {url}",rel:"noopener nofollow noreferrer",countUrl:""},rss:{label:"RSS",logo:"fa fa-rss",shareUrl:"/feeds/",countUrl:""},sms:{label:"SMS",logo:"fa fa-comments-o",shareUrl:"sms:{delimiter}body={text} {url}",delimiter:"?",countUrl:"",shareIn:"top"},reddit:{label:"Reddit",logo:"fa fa-reddit",shareUrl:"https://www.reddit.com/submit?url={url}",rel:"noopener nofollow noreferrer",countUrl:""},xing:{label:"Share",logo:"fa fa-xing",shareUrl:"https://www.xing.com/spi/shares/new?url={url}",rel:"noopener nofollow noreferrer",countUrl:"ochServerSide"},diaspora:{label:"Share",logo:"fa fa-diaspora",shareUrl:"https://share.diasporafoundation.org/?title={title}?url={url}",rel:"noopener nofollow noreferrer",countUrl:""},wykop:{label:"wykop",logo:"fa fa-hashtag",shareUrl:"https://www.wykop.pl/dodaj/link/?url={url}&title={title}&desc={text}",rel:"noopener nofollow noreferrer",countUrl:""},clipboard:{label:"Share",logo:"fa fa-copy",shareUrl:"#",rel:"noopener nofollow noreferrer",countUrl:"",shareIn:"onclick",onClick:"copyToClipboard"},mastodon:{label:"Share",logo:"fa fa-hashtag",shareUrl:"#",rel:"noopener nofollow noreferrer",countUrl:"",shareIn:"onclick",onClick:"shareToMastodon"},threads:{label:"Post",logo:"fa fa-hashtag",shareUrl:"https://www.threads.net/intent/post?text={title}+{url}",rel:"noopener nofollow noreferrer",countUrl:""},tumblr:{label:"Share",logo:"fa fa-hashtag",shareUrl:"https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}",rel:"noopener nofollow noreferrer",countUrl:""},trello:{label:"Add Card",logo:"fa fa-hashtag",shareUrl:"https://trello.com/add-card?url={url}&name={title}",rel:"noopener nofollow noreferrer",countUrl:""},bluesky:{label:"Post",logo:"fa fa-hashtag",shareUrl:"https://bsky.app/intent/compose?text={title}+{url}",rel:"noopener nofollow noreferrer",countUrl:""}})}(window,jQuery,window.jsSocials);
5//# sourceMappingURL=jssocials.min.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.