PageSourceSearch

https://wiadlek.pl/wp-content/plugins/sassy-social-share/public/js/sassy-social-share-public.js?ver=3.3.16

js wiadlek.pl collected 2026-10-02 11:15:12 UTC 44,014 bytes, 833 lines download raw bytes

1function heateorSssCallAjax(e){if(typeof jQuery!="undefined"){e()}else{heateorSssGetScript("https://code.jquery.com/jquery-latest.min.js",e)}}
2function heateorSssGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}
3function heateorSssDetermineWhatsappShareAPI(a){if(a)return-1!=navigator.userAgent.indexOf("Mobi")?"api.whatsapp.com":"web.whatsapp.com";var p=jQuery("i.heateorSssWhatsappBackground a").attr("href");return void 0!==p?-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("web.whatsapp.com","api.whatsapp.com")),"api.whatsapp.com"):(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("api.whatsapp.com","web.whatsapp.com")),"web.whatsapp.com"):""}
4/**
5 * Show more sharing services popup
6 */
7function heateorSssMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
8	postUrl = encodeURIComponent(postUrl);
9	concate = '</ul></div><div class="footer-panel"><p></p></div></div>';
10	var heateorSssMoreSharingServices = {	  
11	  facebook: {
12		title: "Facebook",
13		locale: "en-US",
14		redirect_url: "https://www.facebook.com/sharer.php?u=" + postUrl + "&t=" + postTitle + "&v=3",
15	  },
16	  twitter: {
17		title: "Twitter",
18		locale: "en-US",
19		redirect_url: "https://twitter.com/intent/tweet?text=" + (twitterTitle ? twitterTitle : postTitle) + " " + postUrl,
20	  },
21	  linkedin: {
22		title: "Linkedin",
23		locale: "en-US",
24		redirect_url: "https://www.linkedin.com/shareArticle?mini=true&url=" + postUrl + "&title=" + postTitle,
25	  },
26	  parler: {
27		title: "Parler",
28		locale: "en-US",
29		redirect_url: "https://parler.com/new-post?message=" + postTitle + "&url=" + postUrl
30	  },
31	  pinterest: {
32		title: "Pinterest",
33		locale: "en-US",
34		redirect_url: "https://pinterest.com/pin/create/button/?url=" + postUrl + "&media=${media_link}&description=" + postTitle,
35		bookmarklet_url: "javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());"
36	  },
37	  CopyLink: {
38		title: "Copy Link",
39		locale: "en-US",
40		redirect_url: "",
41		bookmarklet_url: ""
42	  },
43	  Diaspora: {
44		title: "Diaspora",
45		locale: "en-US",
46		redirect_url: "https://joindiaspora.com/bookmarklet?url=" + postUrl + "&title=" + postTitle + "&v=1"
47	  },
48	  Douban: {
49		title: "Douban",
50		locale: "en-US",
51		redirect_url: "https://www.douban.com/share/service?name="+postTitle+"&href="+postUrl+"&image=&updated=&bm=&url="+postUrl+"&title="+postTitle+"&sel="
52	  },
53	  Draugiem: {
54		title: "Draugiem",
55		locale: "en-US",
56		redirect_url: "https://www.draugiem.lv/say/ext/add.php?link="+postUrl+"&title="+postTitle
57	  },
58	  Facebook_Messenger: {
59		title: "Facebook Messenger",
60		locale: "en-US",
61		redirect_url: "https://www.facebook.com/dialog/send?app_id=1904103319867886&display=popup&link="+postUrl+"&redirect_uri="+postUrl
62	  },
63	  Google_Classroom: {
64		title: "Google Classroom",
65		locale: "en-US",
66		redirect_url: "https://classroom.google.com/u/0/share?url="+postUrl
67	  },
68	  Kik: {
69		title: "Kik",
70		locale: "en-US",
71		redirect_url: "https://www.kik.com/send/article/?app_name=Share&text=&title="+postTitle+"&url="+postUrl
72	  },
73	  Papaly: {
74		title: "Papaly",
75		locale: "en-US",
76		redirect_url: "https://papaly.com/api/share.html?url="+postUrl+"&title="+postTitle
77	  },
78	  Refind: {
79		title: "Refind",
80		locale: "en-US",
81		redirect_url: "https://refind.com/?url="+postUrl
82	  },
83	  Skype: {
84		title: "Skype",
85		locale: "en-US",
86		redirect_url: "https://web.skype.com/share?url="+postUrl
87	  },
88	  SMS: {
89		title: "SMS",
90		locale: "en-US",
91		bookmarklet_url: "sms:?&body="+postTitle+" "+postUrl
92	  },
93	  Trello: {
94		title: "Trello",
95		locale: "en-US",
96		redirect_url: "https://trello.com/add-card?mode=popup&url="+postUrl+"&name="+postTitle+"&desc="
97	  },
98	  Viber: {
99		title: "Viber",
100		locale: "en-US",
101		bookmarklet_url: "viber://forward?text="+postTitle+" "+postUrl
102	  },
103	  Threema: {
104		title: "Threema",
105		locale: "en-US",
106		bookmarklet_url: "threema://compose?text="+postTitle+" "+postUrl
107	  },
108	  Telegram: {
109		title: "Telegram",
110		locale: "en-US",
111		redirect_url: "https://telegram.me/share/url?url="+postUrl+"&text="+postTitle
112	  },
113	  email: {
114		title: "Email",
115		locale: "en-US",
116		redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl,
117	  },
118	  reddit: {
119		title: "Reddit",
120		locale: "en-US",
121		redirect_url: "http://reddit.com/submit?url=" + postUrl + "&title=" + postTitle,
122	  },
123	  float_it: {
124		title: "Float it",
125		locale: "en-US",
126		redirect_url: "http://www.designfloat.com/submit.php?url=" + postUrl + "&title=" + postTitle,
127	  },
128	  google_mail: {
129		title: "Google Gmail",
130		locale: "en-US",
131		redirect_url: "https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=" + postTitle + "&body=Link: " + postUrl,
132	  },
133	  gentlereader: {
134        title: "GentleReader",
135        locale: "en-US",
136        redirect_url: "https://app.gentlereader.com/bookmark?url=" + postUrl,
137      },
138	  google_bookmarks: {
139		title: "Google Bookmarks",
140		locale: "en-US",
141		redirect_url: "http://www.google.com/bookmarks/mark?op=edit&bkmk=" + postUrl + "&title=" + postTitle,
142	  },
143	  digg: {
144		title: "Digg",
145		locale: "en-US",
146		redirect_url: "http://digg.com/submit?phase=2&url=" + postUrl + "&title=" + postTitle,
147	  },
148	  printfriendly: {
149		title: "PrintFriendly",
150		locale: "en-US",
151		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
152	  },
153	  print: {
154		title: "Print",
155		locale: "en-US",
156		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
157		bookmarklet_url: "javascript:window.print()"
158	  },
159	  tumblr: {
160		title: "Tumblr",
161		locale: "en-US",
162		redirect_url: "https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=" + postUrl + "&title=" + postTitle + "&caption=",
163		bookmarklet_url: "javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.tumblr.com/share',l=d.location,e=encodeURIComponent,p='?v=3&u='+e(l.href) +'&t='+e(d.title) +'&s='+e(s),u=f+p;try{if(!/^(.*\\.)?tumblr[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a =function(){if(!w.open(u,'t','toolbar=0,resizable=0,status=1,width=450,height=430'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a();}void(0);"
164	  },
165	  vk: {
166		title: "Vkontakte",
167		locale: "ru",
168		redirect_url: "https://vk.com/share.php?url=" + postUrl + "&title=" + postTitle,
169	  },
170	  evernote: {
171		title: "Evernote",
172		locale: "en-US",
173		redirect_url: "https://www.evernote.com/clip.action?url=" + postUrl + "&title=" + postTitle,
174		bookmarklet_url: "javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();"
175	  },
176	  amazon_us_wish_list: {
177		title: "Amazon Wish List",
178		locale: "en-US",
179		redirect_url: "http://www.amazon.com/wishlist/add?u=" + postUrl + "&t=" + postTitle,
180		bookmarklet_url: "javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,x='undefined',u='http://www.amazon.com/gp/wishlist/add';if(typeof s!='object')l.href=u+'?u='+e(l)+'&t='+e(d.title);function g(){if(d.readyState&&d.readyState!='complete'){setTimeout(g,200);}else{if(typeof AUWLBook==x)s.setAttribute('src',u+'.js?loc='+e(l)),d.body.appendChild(s);function f(){(typeof AUWLBook==x)?setTimeout(f,200):AUWLBook.showPopover();}f();}}g();}())"
181	  },
182	  wordpress_blog: {
183		title: "WordPress",
184		locale: "en-US",
185		redirect_url: "http://www.addtoany.com/ext/wordpress/press_this?linkurl=" + postUrl + "&linkname=" + postTitle,
186	  },
187	  whatsapp: {
188		title: "Whatsapp",
189		locale: "en-US",
190		bookmarklet_url: "https://" + heateorSssDetermineWhatsappShareAPI(true) + "/send?text=" + postTitle + " " + postUrl,
191	  },
192	  diigo: {
193		title: "Diigo",
194		locale: "en-US",
195		redirect_url: "http://www.diigo.com/post?url=" + postUrl + "&title=" + postTitle,
196	  },
197	  yc_hacker_news: {
198		title: "Hacker News",
199		locale: "en-US",
200		redirect_url: "http://news.ycombinator.com/submitlink?u=" + postUrl + "&t=" + postTitle,
201	  },
202	  box_net: {
203		title: "Box.net",
204		locale: "en-US",
205		redirect_url: "https://www.box.net/api/1.0/import?url=" + postUrl + "&name=" + postTitle + "&import_as=link",
206	  },
207	  aol_mail: {
208		title: "AOL Mail",
209		locale: "en-US",
210		redirect_url: "http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=" + postTitle + "&body=" + postUrl,
211	  },
212	  yahoo_mail: {
213		title: "Yahoo Mail",
214		locale: "en-US",
215		redirect_url: "http://compose.mail.yahoo.com/?Subject=" + postTitle + "&body=Link: " + postUrl,
216	  },
217	  instapaper: {
218		title: "Instapaper",
219		locale: "en-US",
220		redirect_url: "http://www.instapaper.com/edit?url=" + postUrl + "&title=" + postTitle,
221	  },
222	  plurk: {
223		title: "Plurk",
224		locale: "en-US",
225		redirect_url: "http://www.plurk.com/m?content=" + postUrl + "&qualifier=shares",
226	  },
227	  aim: {
228		title: "AIM",
229		locale: "en-US",
230		redirect_url: "http://share.aim.com/share/?url=" + postUrl + "&title=" + postTitle,
231	  },
232	  viadeo: {
233		title: "Viadeo",
234		locale: "en-US",
235		redirect_url: "http://www.viadeo.com/shareit/share/?url=" + postUrl + "&title=" + postTitle,
236	  },
237	  pinboard_in: {
238		title: "Pinboard",
239		locale: "en-US",
240		redirect_url: "http://pinboard.in/add?url=" + postUrl + "&title=" + postTitle,
241	  },
242	  blogger_post: {
243		title: "Blogger Post",
244		locale: "en-US",
245		redirect_url: "http://www.blogger.com/blog_this.pyra?t=&u=" + postUrl + "&l&n=" + postTitle,
246	  },
247	  typepad_post: {
248		title: "TypePad Post",
249		locale: "en-US",
250		redirect_url: "http://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title=" + postTitle + "&qp_href=" + postUrl + "&qp_text=" + postTitle,
251	  },
252	  buffer: {
253		title: "Buffer",
254		locale: "en-US",
255		redirect_url: "http://bufferapp.com/add?url=" + postUrl + "&text=" + postTitle,
256	  },
257	  flipboard: {
258		title: "Flipboard",
259		locale: "en-US",
260		redirect_url: "https://share.flipboard.com/bookmarklet/popout?v=2&url=" + postUrl + "&title=" + postTitle,
261	  },
262	  pocket: {
263		title: "Pocket",
264		locale: "en-US",
265		redirect_url: "https://readitlaterlist.com/save?url=" + postUrl + "&title=" + postTitle,
266	  },
267	  fark: {
268		title: "Fark",
269		locale: "en-US",
270		redirect_url: "http://cgi.fark.com/cgi/fark/submit.pl?new_url=" + postUrl,
271	  },
272	  fintel: {
273		title: "Fintel",
274		locale: "en-US",
275		redirect_url: "https://fintel.io/submit?url=" + postUrl,
276	  },
277	  yummly: {
278		title: "Yummly",
279		locale: "en-US",
280		redirect_url: "http://www.yummly.com/urb/verify?url=" + postUrl + "&title=" + postTitle,
281	  },
282	  app_net: {
283		title: "App.net",
284		locale: "en-US",
285		redirect_url: "https://account.app.net/login/",
286	  },
287	  balatarin: {
288		title: "Balatarin",
289		locale: "en-US",
290		redirect_url: "https://www.balatarin.com/login",
291	  },
292	  bibSonomy: {
293		title: "BibSonomy",
294		locale: "en-US",
295		redirect_url: "http://www.bibsonomy.org/login",
296	  },
297	  Bitty_Browser: {
298		title: "Bitty Browser",
299		locale: "en-US",
300		redirect_url: "http://www.bitty.com/manual/?contenttype=&contentvalue=" + postUrl,
301	  },
302	  Blinklist: {
303		title: "Blinklist",
304		locale: "en-US",
305		redirect_url: "http://blinklist.com/blink?t=" + postTitle + "&d=&u=" + postUrl,
306	  },
307	  BlogMarks: {
308		title: "BlogMarks",
309		locale: "en-US",
310		redirect_url: "http://blogmarks.net/my/new.php?mini=1&simple=1&title=" + postTitle + "&url=" + postUrl,
311	  },
312	  Bookmarks_fr: {
313		title: "Bookmarks.fr",
314		locale: "en-US",
315		redirect_url: "http://www.bookmarks.fr/Connexion/?action=add&address=" + postUrl + "&title=" + postTitle,
316	  },
317	  BuddyMarks: {
318		title: "BuddyMarks",
319		locale: "en-US",
320		redirect_url: "http://buddymarks.com/login.php?bookmark_title=" + postTitle + "&bookmark_url=" + postUrl + "&bookmark_desc=&bookmark_tags=",
321	  },
322	  Care2_news: {
323		title: "Care2 News",
324		locale: "en-US",
325		redirect_url: "http://www.care2.com/passport/login.html?promoID=10&pg=http://www.care2.com/news/compose?sharehint=news&share[share_type]news&bookmarklet=Y&share[title]=" + postTitle + "&share[link_url]=" + postUrl + "&share[content]=",
326	  },
327	  Diary_Ru: {
328		title: "Diary.Ru",
329		locale: "en-US",
330		redirect_url: "http://www.diary.ru/?newpost&title=" + postTitle + "&text=" + postUrl,
331	  },
332	  Folkd: {
333		title: "Folkd",
334		locale: "en-US",
335		redirect_url: "http://www.folkd.com/page/social-bookmarking.html?addurl=" + postUrl,
336	  },
337	  Hatena: {
338		title: "Hatena",
339		locale: "en-US",
340		redirect_url: "http://b.hatena.ne.jp/bookmarklet?url=" + postUrl + "&btitle=" + postTitle,
341	  },
342	  Jamespot: {
343		title: "Jamespot",
344		locale: "en-US",
345		redirect_url: "//my.jamespot.com/",
346	  },
347	  Kakao: {
348		title: "Kakao",
349		locale: "en-US",
350		redirect_url: "https://story.kakao.com/share?url=" + postUrl,
351	  },
352	  Kindle_It: {
353		title: "Kindle_It",
354		locale: "en-US",
355		redirect_url: "//fivefilters.org/kindle-it/send.php?url=" + postUrl,
356	  },
357	  Known: {
358		title: "Known",
359		locale: "en-US",
360		redirect_url: "https://withknown.com/share/?url=" + postUrl + "&title=" + postTitle,
361	  },
362	  Line: {
363		title: "Line",
364		locale: "en-US",
365		redirect_url: "https://social-plugins.line.me/lineit/share?url=" + postUrl,
366	  },
367	  LiveJournal: {
368		title: "LiveJournal",
369		locale: "en-US",
370		redirect_url: "http://www.livejournal.com/update.bml?subject=" + postTitle + "&event=" + postUrl,
371	  },
372	  Mail_Ru: {
373		title: "Mail.Ru",
374		locale: "en-US",
375		redirect_url: "https://connect.mail.ru/share?share_url=" + postUrl,
376	  },
377	  Mendeley: {
378		title: "Mendeley",
379		locale: "en-US",
380		redirect_url: "https://www.mendeley.com/sign-in/",
381	  },
382	  Meneame: {
383		title: "Meneame",
384		locale: "en-US",
385		redirect_url: "https://www.meneame.net/submit.php?url=" + postUrl,
386	  },
387	  MeWe: {
388		title: "MeWe",
389		locale: "en-US",
390		redirect_url: "https://mewe.com/share?link=" + postUrl,
391	  },
392	  Mix: {
393		title: "Mix",
394		locale: "en-US",
395		redirect_url: "https://mix.com/mixit?url=" + postUrl,
396	  },
397	  Mixi: {
398		title: "Mixi",
399		locale: "en-US",
400		redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
401	  },
402	  MySpace: {
403		title: "MySpace",
404		locale: "en-US",
405		redirect_url: "https://myspace.com/post?u=" + encodeURIComponent(postUrl) + "&t=" + postTitle + "&l=3&c=" + postTitle,
406	  },
407	  Netvouz: {
408		title: "Netvouz",
409		locale: "en-US",
410		redirect_url: "http://www.netvouz.com/action/submitBookmark?url=" + postUrl + "&title=" + postTitle + "&popup=no&description=",
411	  },
412	  Odnoklassniki: {
413		title: "Odnoklassniki",
414		locale: "en-US",
415		redirect_url: "https://connect.ok.ru/dk?cmd=WidgetSharePreview&st.cmd=WidgetSharePreview&st.shareUrl=" + postUrl + "&st.client_id=-1",
416	  },
417	  Outlook_com: {
418		title: "Outlook.com",
419		locale: "en-US",
420		redirect_url: "https://mail.live.com/default.aspx?rru=compose?subject=" + postTitle + "&body=" + postUrl + "&lc=1033&id=64855&mkt=en-us&cbcxt=mai",
421	  },
422	  Protopage_Bookmarks: {
423		title: "Protopage_Bookmarks",
424		locale: "en-US",
425		redirect_url: "http://www.protopage.com/add-button-site?url=" + postUrl + "&label=&type=page",
426	  },
427	  Pusha: {
428		title: "Pusha",
429		locale: "en-US",
430		redirect_url: "//www.pusha.se/posta?url=" + postUrl,
431	  },
432	  Qzone: {
433		title: "Qzone",
434		locale: "en-US",
435		redirect_url: "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + postUrl,
436	  },
437	  Rediff_MyPage: {
438		title: "Rediff MyPage",
439		locale: "en-US",
440		redirect_url: "//share.rediff.com/bookmark/addbookmark?bookmarkurl=" + postUrl + "&title=" + postTitle,
441	  },
442	  Renren: {
443		title: "Renren",
444		locale: "en-US",
445		redirect_url: "//www.connect.renren.com/share/sharer?url=" + postUrl + "&title=" + postTitle,
446	  },
447	  Sina_Weibo: {
448		title: "Sina Weibo",
449		locale: "en-US",
450		redirect_url: "http://service.weibo.com/share/share.php?url=" + postUrl + "&title=" + postTitle,
451	  },
452	  SiteJot: {
453		title: "SiteJot",
454		locale: "en-US",
455		redirect_url: "http://www.sitejot.com/loginform.php?iSiteAdd=&iSiteDes=",
456	  },
457	  Slashdot: {
458		title: "Slashdot",
459		locale: "en-US",
460		redirect_url: "//slashdot.org/submission?url=" + postUrl,
461	  },
462	  StockTwits: {
463		title: "StockTwits",
464		locale: "en-US",
465		redirect_url: "https://stocktwits.com/widgets/share?body=" + postTitle + " " + postUrl,
466	  },
467	  Svejo: {
468		title: "Svejo",
469		locale: "en-US",
470		redirect_url: "https://svejo.net/story/submit_by_url?url=" + postUrl + "&title=" + postTitle + "&summary=",
471	  },
472	  Symbaloo_Feeds: {
473		title: "Symbaloo_Feeds",
474		locale: "en-US",
475		redirect_url: "//www.symbaloo.com/",
476	  },
477	  Tuenti: {
478		title: "Tuenti",
479		locale: "en-US",
480		redirect_url: "https://www.tuenti.com/share?p=b5dd6602&url=" + postUrl,
481	  },
482	  Twiddla: {
483		title: "Twiddla",
484		locale: "en-US",
485		redirect_url: "//www.twiddla.com/New.aspx?url=" + postUrl + "&title=" + postTitle,
486	  },
487	  Webnews: {
488		title: "Webnews",
489		locale: "en-US",
490		redirect_url: "//www.webnews.de/login",
491	  },
492	  Wykop: {
493		title: "Wykop",
494		locale: "en-US",
495		redirect_url: "//www.wykop.pl/dodaj?url=" + postUrl + "&title=" + postTitle,
496	  },
497	  Xing: {
498		title: "Xing",
499		locale: "en-US",
500		redirect_url: "https://www.xing.com/spi/shares/new?cb=0&url=" + postUrl,
501	  },
502	  Yoolink: {
503		title: "Yoolink",
504		locale: "en-US",
505		redirect_url: "//yoolink.to/addorshare?url_value=" + postUrl + "&title=" + postTitle,
506	  }
507	};
508	var heateorSssMoreSharingServicesHtml = '<button id="heateor_sss_sharing_popup_close" class="close-button separated"><img src="'+ heateorSssCloseIconPath +'" /></button><div id="heateor_sss_sharing_more_content" data-href="'+ decodeURIComponent(postUrl) +'"><div class="filter"><input type="text" onkeyup="heateorSssFilterSharing(this.value.trim())" placeholder="Search" class="search"></div><div class="all-services"><ul class="mini">';
509	for(var i in heateorSssMoreSharingServices){
510		var tempTitle = heateorSssCapitaliseFirstLetter(heateorSssMoreSharingServices[i].title.replace(/[_. ]/g, ""));
511		heateorSssMoreSharingServicesHtml += '<li><a rel="nofollow" class="heateorSss'+i+'Share" title="'+ heateorSssMoreSharingServices[i].title +'" alt="'+ heateorSssMoreSharingServices[i].title +'" ';
512		if(heateorSssMoreSharingServices[i].bookmarklet_url){
513			heateorSssMoreSharingServicesHtml += 'href="' + heateorSssMoreSharingServices[i].bookmarklet_url + '" ';
514		}else if(heateorSssMoreSharingServices[i].redirect_url){
515			heateorSssMoreSharingServicesHtml += 'onclick="heateorSssPopup(\'' + heateorSssMoreSharingServices[i].redirect_url + '\')" href="javascript:void(0)" ';
516		}else{
517			heateorSssMoreSharingServicesHtml += 'href="javascript:void(0)" ';
518		}
519		heateorSssMoreSharingServicesHtml += '"><i style="width:22px;height:22px" title="'+ heateorSssMoreSharingServices[i].title +'" class="heateorSssSharing heateorSss' + tempTitle + 'Background"><ss style="display:block;width:100%;height:100%;" class="heateorSssSharingSvg heateorSss' + tempTitle + 'Svg"></ss></i>' + heateorSssMoreSharingServices[i].title + '</a></li>';
520	}
521	heateorSssMoreSharingServicesHtml += concate;
522	
523	var mainDiv = document.createElement('div');
524	mainDiv.innerHTML = heateorSssMoreSharingServicesHtml;
525	mainDiv.setAttribute('id', 'heateor_sss_sharing_more_providers');
526	var bgDiv = document.createElement('div');
527	bgDiv.setAttribute('id', 'heateor_sss_popup_bg');
528	jQuery('body').append(mainDiv).append(bgDiv);
529	document.getElementById('heateor_sss_popup_bg').onclick = document.getElementById('heateor_sss_sharing_popup_close').onclick = function(){
530		mainDiv.parentNode.removeChild(mainDiv);
531		bgDiv.parentNode.removeChild(bgDiv);
532	}
533}
534
535if(heateorSssHorizontalSharingCountEnable || heateorSssVerticalSharingCountEnable){
536	// get sharing counts on window load
537	heateorSssLoadEvent(
538		function(){
539			// sharing counts
540			heateorSssCallAjax(function(){
541				heateorSssGetSharingCounts();
542			});
543		}
544	);
545}
546	
547/**
548 * Search sharing services
549 */
550function heateorSssFilterSharing(val) {
551	jQuery('ul.mini li a').each(function(){
552		if (jQuery(this).text().toLowerCase().indexOf(val.toLowerCase()) != -1) {
553			jQuery(this).parent().css('display', 'block');
554		} else {
555			jQuery(this).parent().css('display', 'none');
556		}
557	});
558};
559
560var heateorSssFacebookTargetUrls = [];
561
562/**
563 * Get sharing counts
564 */
565function heateorSssGetSharingCounts(){
566	var targetUrls = [];
567	jQuery('.heateor_sss_sharing_container').each(function(){
568		if(typeof jQuery(this).attr('heateor-sss-no-counts') == 'undefined'){
569			var currentTargetUrl = jQuery(this).attr('heateor-sss-data-href');
570			if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSssUrlCountFetched) == -1){
571				targetUrls.push(currentTargetUrl);
572				heateorSssUrlCountFetched.push(currentTargetUrl);
573			}
574		}
575	});
576	
577	if(targetUrls.length == 0){
578		return;
579	}
580	jQuery.ajax({
581		type: 'GET',
582		dataType: 'json',
583		url: heateorSssSharingAjaxUrl,
584		data: {
585			action: 'heateor_sss_sharing_count',
586			urls: targetUrls,
587		},
588		success: function(data, textStatus, XMLHttpRequest){
589			if(data.status == 1){
590				if(data.facebook){
591					heateorSssFacebookTargetUrls = data.facebook_urls;
592				}
593				for(var i in data.message){
594					var sharingContainers = jQuery("div[heateor-sss-data-href='"+i+"']");
595
596					jQuery(sharingContainers).each(function(){
597						var totalCount = 0;
598						for(var j in data.message[i]){
599							var sharingCount = parseInt(data.message[i][j]) || 0;
600
601							var targetElement = jQuery(this).find('.heateor_sss_'+j+'_count');
602							
603							if(jQuery(targetElement).attr('sss_st_count')){
604								sharingCount = parseInt(sharingCount) + parseInt(jQuery(targetElement).attr('sss_st_count'));
605							}
606							totalCount += parseInt(sharingCount);
607							if(sharingCount < 1){ continue; }
608							jQuery(targetElement).html(heateorSssCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
609							if ( ( typeof heateorSssReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('heateor_sss_horizontal_sharing') ) || ( typeof heateorSssReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('heateor_sss_vertical_sharing') ) ) {
610								jQuery(targetElement).parents('li').find('.heateorSssSharingSvg').css('float', 'left');
611							}
612							if ( ( typeof heateorSssReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('heateor_sss_horizontal_sharing') ) || ( typeof heateorSssReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('heateor_sss_vertical_sharing') ) ) {
613								jQuery(targetElement).parents('li').find('.heateorSssSharingSvg').css('marginTop', '0');
614							}
615						}
616						var totalCountContainer = jQuery(this).find('.heateorSssTCBackground'), totalShares = heateorSssCalculateApproxCount(totalCount);
617						jQuery(totalCountContainer).each(function(){
618							var containerHeight = jQuery(this).css('height');
619							jQuery(this).html('<div class="heateorSssTotalShareCount" style="font-size: '+ (parseInt(containerHeight) * 62/100) +'px">' + totalShares + '</div><div class="heateorSssTotalShareText" style="font-size: '+ (parseInt(containerHeight) * 38/100) +'px">' + (totalCount == 0 || totalCount > 1 ? heateorSssSharesText : heateorSssShareText) + '</div>').css('visibility', 'visible');
620						});
621					});
622				}
623				if(heateorSssFacebookTargetUrls.length != 0){
624					heateorSssFetchFacebookShares(heateorSssFacebookTargetUrls);
625				}
626			}
627		}
628	});
629}
630
631function heateorSssFetchFacebookShares(targetUrls){
632	var loopCounter = 0;
633	for(var i in targetUrls){
634		for(var j in targetUrls[i]){
635			loopCounter++;
636			heateorSssFBShareJSONCall(targetUrls[i][j], loopCounter, targetUrls[0].length*targetUrls.length, targetUrls[0][j]);
637		}
638	}
639}
640
641function heateorSssFBShareJSONCall(targetUrl, loopCounter, targetUrlsLength, dataHref) {
642	jQuery.getJSON('//graph.facebook.com/?id=' + targetUrl, function(data){
643	    if(data.share && data.share.share_count >= 0){
644	    	var sharingContainers = jQuery("div[heateor-sss-data-href='"+dataHref+"']");
645
646			jQuery(sharingContainers).each(function(){
647				var targetElement = jQuery(this).find('.heateor_sss_facebook_count');
648				var facebookBackground = jQuery(this).find('i.heateorSssFacebookBackground');
649				var sharingCount = parseInt(data.share.share_count);
650
651				if(jQuery(targetElement).attr('sss_st_count') !== undefined){
652					sharingCount += parseInt(jQuery(targetElement).attr('sss_st_count'));
653				}
654				if(sharingCount > 0){
655					if(typeof jQuery(facebookBackground).attr('heateor-sss-fb-shares') == 'undefined'){
656						jQuery(targetElement).html(heateorSssCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
657						jQuery(facebookBackground).attr('heateor-sss-fb-shares', sharingCount);
658					}else if(typeof jQuery(facebookBackground).attr('heateor-sss-fb-shares') != 'undefined'){
659						var tempShareCount = parseInt(jQuery(facebookBackground).attr('heateor-sss-fb-shares'));
660						jQuery(facebookBackground).attr('heateor-sss-fb-shares', sharingCount + tempShareCount);
661						jQuery(targetElement).html(heateorSssCalculateApproxCount(sharingCount + tempShareCount));
662					}
663
664					if ( ( typeof heateorSssReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('heateor_sss_horizontal_sharing') ) || ( typeof heateorSssReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('heateor_sss_vertical_sharing') ) ) {
665						jQuery(targetElement).parents('li').find('.heateorSssSharingSvg').css('float', 'left');
666					}
667					if ( ( typeof heateorSssReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('heateor_sss_horizontal_sharing') ) || ( typeof heateorSssReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('heateor_sss_vertical_sharing') ) ) {
668						jQuery(targetElement).parents('li').find('.heateorSssSharingSvg').css('marginTop', '0');
669					}
670					
671					var totalCountContainer = jQuery(this).find('.heateorSssTCBackgroun
671d');
672					jQuery(totalCountContainer).each(function(){
673						var totalShareCountElem = jQuery(this).find('.heateorSssTotalShareCount');
674						var totalShareCount = jQuery(totalShareCountElem).text();
675						var newTotalCount = heateorSssCalculateActualCount(totalShareCount) + sharingCount;
676						jQuery(totalShareCountElem).text(heateorSssCalculateApproxCount(newTotalCount));
677						jQuery(this).find('.heateorSssTotalShareText').text(newTotalCount == 0 || newTotalCount > 1 ? heateorSssSharesText : heateorSssShareText);
678					});
679				}
680			});
681		}
682		
683		if(loopCounter == targetUrlsLength){
684			setTimeout(function(){
685				var facebookShares = {};
686				for(var i in heateorSssFacebookTargetUrls[0]){
687					var sharingContainers = jQuery("div[heateor-sss-data-href='"+heateorSssFacebookTargetUrls[0][i]+"']");
688					jQuery(sharingContainers).each(function(){
689						var facebookCountElement = jQuery(this).find('.heateor_sss_facebook_count');
690						var facebookCountElementBg = jQuery(this).find('i.heateorSssFacebookBackground');
691						var shareCountString = typeof jQuery(facebookCountElementBg).attr('heateor-sss-fb-shares') != 'undefined' ? jQuery(facebookCountElementBg).attr('heateor-sss-fb-shares').trim() : '';
692						if(shareCountString != ''){
693							var shareCount = parseInt(heateorSssCalculateActualCount(shareCountString));
694							if(jQuery(facebookCountElement).attr('sss_st_count') !== undefined){
695								var startingCount = parseInt(jQuery(facebookCountElement).attr('sss_st_count').trim());
696								shareCount = Math.abs(shareCount - startingCount);
697							}
698							facebookShares[heateorSssFacebookTargetUrls[0][i]] = shareCount;
699							return;
700						}
701					});
702				}
703				if(!jQuery.isEmptyObject(facebookShares)){
704					heateorSssSaveFacebookShares(facebookShares);
705				}
706			}, 1000);
707		}
708	});
709}
710
711function heateorSssSaveFacebookShares(facebookShares){
712	jQuery.ajax({
713		type: 'GET',
714		dataType: 'json',
715		url: heateorSssSharingAjaxUrl,
716		data: {
717			action: 'heateor_sss_save_facebook_shares',
718			share_counts: facebookShares,
719		},
720		success: function(data, textStatus, XMLHttpRequest){}
721	});
722}
723
724function heateorSssCalculateApproxCount(sharingCount){
725	// round to one decimal
726	if(sharingCount > 999 && sharingCount < 10000){
727		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
728	}else if(sharingCount > 9999 && sharingCount < 100000){
729		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
730	}else if(sharingCount > 99999 && sharingCount < 1000000){
731		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
732	}else if(sharingCount > 999999){
733		sharingCount = (Math.round(sharingCount/100000))/10 + 'M';
734	}
735	return sharingCount;
736}
737
738function heateorSssCalculateActualCount(sharingCount){
739	if(sharingCount.indexOf('K') > 0){
740		sharingCount = sharingCount.replace('K', '') * 1000;
741	}else if(sharingCount.indexOf('M') > 0){
742		sharingCount = sharingCount.replace('M', '') * 1000000;
743	}
744	return parseInt(sharingCount);
745}
746
747function heateorSssCapitaliseFirstLetter(e) {
748    return e.charAt(0).toUpperCase() + e.slice(1)
749}
750
751jQuery(function(){
752	var heateorSssWhatsappJSAPI = heateorSssDetermineWhatsappShareAPI(false);
753	var classes = ['heateor_sss_vertical_sharing', 'heateor_sss_vertical_counter'];
754	for(var i = 0; i < classes.length; i++){
755		if(jQuery('.' + classes[i]).length){
756			jQuery('.' + classes[i]).each(function(){
757				var verticalSharingHtml = jQuery(this).html();
758				if(jQuery(this).attr('style').indexOf('right') >= 0){
759					var removeClass = 'heateorSssPushIn', margin = 'Right', alignment = 'right', addClass = 'heateorSssPullOut';
760				}else{
761					var removeClass = 'heateorSssPullOut', margin = 'Left', alignment = 'left', addClass = 'heateorSssPushIn';
762				}
763				jQuery(this).html(verticalSharingHtml + '<div title="Hide" style="float:' + alignment + '" onclick="heateorSssHideSharing(this, \''+ removeClass +'\', \''+ addClass +'\',\'' + margin +'\', \'' + alignment + '\')" class="heateorSssSharingArrow ' + removeClass + '"></div>');
764			});
765		}
766	}
767	if(heateorSssMobileStickySharingEnabled == 1){
768		if(jQuery('div.heateor_sss_vertical_sharing').length){
769			// insert div before </body>
770			jQuery(document.body).append("<div class='heateor_sss_mobile_footer'></div>");
771		}
772	}
773
774	var heateorSssClipboard = new ClipboardJS('.heateorSssCopyLinkBackgroun
774d, .heateorSssCopyLinkShare, .heateorSssCopyLinkSvg', {
775		text: function(trigger) {
776			if(jQuery(trigger).hasClass('heateorSssCopyLinkShare')){
777				var element = trigger.parentElement.parentElement.parentElement.parentElement;
778				var url = jQuery(element).attr("data-href") || "";
779			}else if(jQuery(trigger).hasClass('heateorSssCopyLinkSvg')){
780                var element = trigger.parentElement.parentElement.parentElement.parentElement;
781                var url = jQuery(element).attr("heateor-sss-data-href") || "";
782                if(!url){
783                    var element = trigger.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement;
784                    var url = jQuery(element).attr("data-href") || "";
785                }
786            }
787			return url;
788		}
789	});
790	heateorSssClipboard.on('success', function(e) {
791        alert(heateorSssCopyLinkMessage);
792    });
793});
794
795function heateorSssHideSharing(elem, removeClass, addClass, margin, alignment){
796	var animation = {}, counter = jQuery(elem).parent().hasClass('heateor_sss_vertical_counter'), offset = parseInt(jQuery(elem).parent().css('width')) + 10 - (counter ? 16 : 0);
797	var ssOffset = jQuery(elem).parent().attr('ss-offset');
798	if(ssOffset){
799		var savedOffset = parseInt(ssOffset);
800	}else{
801		var savedOffset = (counter ? heateorSssCounterOffset : heateorSssSharingOffset);
802	}
803	if(jQuery(elem).attr('title') == 'Hide'){
804		animation[alignment] = "-=" + (offset + savedOffset);
805		jQuery(elem).parent().animate(animation, 400, function(){
806			jQuery(elem).removeClass(removeClass).addClass(addClass).attr('title', 'Share');
807			if(counter){
808				var cssFloat = alignment == 'left' ? 'right' : 'left';
809				jQuery(elem).css('float', cssFloat);
810			}else{
811				jQuery(elem).css('margin' + margin, offset + 'px')
812			}
813		});
814	}else{
815		animation[alignment] = "+=" + (offset + savedOffset); 
816		jQuery(elem).parent().animate(animation, 400, function(){
817			jQuery(elem).removeClass(addClass).addClass(removeClass).attr('title', 'Hide');
818			if(counter){
819				jQuery(elem).css('float', alignment);
820			}else{
821				jQuery(elem).css('margin' + margin, '0px');
822			}
823		});
824	}
825}
826
827/*!
828 * clipboard.js v2.0.6
829 * https://clipboardjs.com/
830 * 
831 * Licensed MIT © Zeno Rocha
832 */
833!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return o={},r.m=n=[function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}
vendor: 6,555 bytes, line 833
833else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,a=o.length;i<a;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=n,t.exports.TinyEmitter=n},function(t,e,n){var d=n(3),h=n(4);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!d.string(e))throw new TypeError("Second argument must be a String");if(!d.fn(n))throw new TypeError("Third argument must be a Function");if(d.node(t))return s=e,f=n,(u=t).addEventListener(s,f),{destroy:function(){u.removeEventListener(s,f)}};if(d.nodeList(t))return a=t,c=e,l=n,Array.prototype.forEach.call(a,function(t){t.addEventListener(c,l)}),{destroy:function(){Array.prototype.forEach.call(a,function(t){t.removeEventListener(c,l)})}};if(d.string(t))return o=t,r=e,i=n,h(document.body,o,r,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,r,i,a,c,l,u,s,f}},function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){var a=n(5);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=a(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},function(t,e){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},function(t,e,n){"use strict";n.r(e);var o=n(0),r=n.n(o),i="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};function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),this.resolveOptions(t),this.initSelection()}var l=(function(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}(c,[{key:"resolveOptions",value:function(t){var e=0<arguments.length&&void 0!==t?t:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=r()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(t){var e=0<arguments.length&&void 0!==t?t:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":i(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),c),u=n(1),s=n.n(u),f=n(2),d=n.n(f),h="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}
833,p=function(t,e,n){return e&&y(t.prototype,e),n&&y(t,n),t};function y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var m=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(v,s.a),p(v,[{key:"resolveOptions",value:function(t){var e=0<arguments.length&&void 0!==t?t:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=d()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return b("action",t)}},{key:"defaultTarget",value:function(t){var e=b("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return b("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(t){var e=0<arguments.length&&void 0!==t?t:["copy","cut"],n="string"==typeof e?[e]:e,o=!!document.queryCommandSupported;return n.forEach(function(t){o=o&&!!document.queryCommandSupported(t)}),o}}]),v);function v(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(v.__proto__||Object.getPrototypeOf(v)).call(this));return n.resolveOptions(e),n.listenClick(t),n}function b(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}e.default=m}],r.c=o,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=6).default;function r(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var n,o});

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.