-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJVCSticker++.user.js
More file actions
286 lines (286 loc) · 148 KB
/
JVCSticker++.user.js
File metadata and controls
286 lines (286 loc) · 148 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
// ==UserScript==
// @name JVCSticker++
// @namespace JVCSticker++
// @include http://www.jeuxvideo.com/forums/*
// @include https://www.jeuxvideo.com/forums/*
// @version 2.0.3
// @grant GM_addStyle
// @updateURL https://ticki84.github.io/JVCSticker++.meta.js
// @downloadURL https://ticki84.github.io/JVCSticker++.user.js
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js
// @require https://ticki84.github.io/jquery.modal.min.js
// @require https://swisnl.github.io/jQuery-contextMenu/dist/jquery.contextMenu.js
// @require https://swisnl.github.io/jQuery-contextMenu/dist/jquery.ui.position.min.js
// @connect github.io
// @connect jvcstckr.comli.com
// @grant GM_xmlhttpRequest
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_listValues
// @grant GM_deleteValue
// @grant GM_registerMenuCommand
// @grant GM_log
// @icon http://jv.stkr.fr/p/1kki
// @author Ticki84
// @copyright 2017+, Ticki84
// @noframes
// ==/UserScript==
function delTimestamp(){GM_deleteValue("lTimestamp")}function delFavoris(){GM_deleteValue("catFavoris")}function delGlobalVar(){for(var q=GM_listValues(),x=0,H=null;H=q[x];x++)GM_deleteValue(H)}GM_registerMenuCommand("JVCSticker++ - Recharger les stickers",delTimestamp);GM_registerMenuCommand("JVCSticker++ - Supprimer les favoris",delFavoris);GM_registerMenuCommand("JVCSticker++ - Supprimer toutes les variables",delGlobalVar);
function addStyle(q){var x=document.getElementsByTagName("HEAD")[0].appendChild(window.document.createElement("style"));x.innerHTML=q;return x}addStyle('@import "https://ticki84.github.io/jquery.modal.min.css";');addStyle('@import "https://swisnl.github.io/jQuery-contextMenu/dist/jquery.contextMenu.css";');addStyle('@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";');void 0===GM_getValue("dontShowUpTo")&&GM_setValue("dontShowUpTo",GM_info.script.version);
GM_xmlhttpRequest({method:"GET",url:"https://ticki84.github.io/JVCSticker++.xml?_="+Date.now(),headers:{"User-Agent":"Mozilla/5.0",Accept:"text/xml"},onload:function(q){function x(l,p,n){function q(p){return(x?/^\d+[A-Za-z]*$/:/^\d+$/).test(p)}var x=n&&n.lexicographical;n=n&&n.zeroExtend;l=l.split(".");p=p.split(".");if(!l.every(q)||!p.every(q))return NaN;if(n){for(;l.length<p.length;)l.push("0");for(;p.length<l.length;)p.push("0")}x||(l=l.map(Number),p=p.map(Number));for(n=0;n<l.length;++n){if(p.length==
n)return 1;if(l[n]!=p[n])return l[n]>p[n]?1:-1}return l.length!=p.length?-1:0}function H(){for(var l=0,p="";q.responseXML.getElementsByTagName("version")[l];){if(0<x(q.responseXML.getElementsByTagName("version")[l].childNodes[0].nodeValue,GM_info.script.version))var p=p+("<p>Version "+q.responseXML.getElementsByTagName("version")[l].childNodes[0].nodeValue+":"),n=q.responseXML.getElementsByTagName("changelog")[l].childNodes[0].nodeValue.replace(RegExp("-","g"),"<br>-"),p=p+n,p=p+"<br>";else break;
l++}return p}q.responseXML||(new DOMParser).parseFromString(q.responseText,"text/xml");var A=document.createElement("script");A.type="text/javascript";A.src="https://ticki84.github.io/jquery.modal.min.js";document.body.appendChild(A);0<x(q.responseXML.getElementsByTagName("version")[0].childNodes[0].nodeValue,GM_info.script.version)&&0<x(q.responseXML.getElementsByTagName("version")[0].childNodes[0].nodeValue,GM_getValue("dontShowUpTo","1.0.0"))?(A=document.createElement("div"),A.innerHTML=' <div id="updateModal" style="display:none; text-align: center;"><div class="modal-header"><h3 class="modal-title">Nouvelle version!</h3></div><div class="modal-body"><br><a href="https://ticki84.github.io/JVCSticker++.user.js" target="_blank">Une nouvelle version de JVCSticker++ est disponible!</a><br><br><br><p>Version actuelle: '+
GM_info.script.version+"</p><p>Derni\u00e8re version: "+q.responseXML.getElementsByTagName("version")[0].childNodes[0].nodeValue+"</p><br><br><p><u>Changelog:</u></p>"+H()+'<br><br><p><h4>Voulez-vous effectuez la mise \u00e0 jour maintenant?</h4></p><br><label><input type="checkbox" id="showNV"> Ne plus m\'avertir jusqu\'\u00e0 la prochaine mise \u00e0 jour</label><br><br></div><div class="modal-footer"><button type="button" id="updateOui" class="btn btn-default" data-dismiss="modal">Oui</button> <a rel="modal:close"><button type="button" id="updateNon" class="btn btn-default" data-dismiss="modal">Non</button></a></div></div><p style="display:none;"><a href="#updateModal" id="toUpdateModal" rel="modal:open">Open Modal</a></p>',
document.body.appendChild(A),document.getElementById("updateOui").addEventListener("click",function(){window.open("https://ticki84.github.io/JVCSticker++.user.js","_blank")}),document.getElementById("updateNon").addEventListener("click",function(){document.getElementById("showNV").checked&&GM_setValue("dontShowUpTo",q.responseXML.getElementsByTagName("version")[0].childNodes[0].nodeValue);init(q.responseXML.getElementsByTagName("version")[0].childNodes[0].nodeValue)}),document.getElementById("toUpdateModal").click(),
console.log("done")):init(q.responseXML.getElementsByTagName("version")[0].childNodes[0].nodeValue)}});
function init(q){function x(){function l(c){for(var e={},b=[],a=c.length,f=0,h=0;h<a;h++){var k=c[h];1!==e[k]&&(e[k]=1,b[f++]=k)}return b}function E(c){GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_counter.php",data:"url="+c,headers:{"Content-Type":"application/x-www-form-urlencoded"}});var e=v.indexOf(c),b=document.getElementById("historiqueStkr");-1!=e?(v.splice(e,1),b.removeChild(b.children[e])):void 0!=b.children[p*M-M-1]&&b.removeChild(b.children[p*M-M-1]);e=document.createElement("li");
e.className="f-stkr-w";e.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px";e.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/p+'px"><span class="f-hlpr"></span><img src="'+c+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>';e.addEventListener("click",function(){E(this.getElementsByTagName("img")[0].src)});b.insertBefore(e,b.firstChild);v.unshift(c);
v.splice(p*M-M);GM_setValue("historique",JSON.stringify(v));var b=document.getElementsByClassName("area-editor")[0],e=b.selectionStart,a=b.selectionEnd,f=b.value,h=f.substring(0,e),a=f.substring(a,f.length);c="http://jv.stkr.fr/"==c.substr(0,18)?"[[sticker:"+c.slice(18,-7)+"]]":" "+c+" ";b.value=h+c+a;b.selectionStart=b.selectionEnd=e+c.length;b.focus();c=new Event("change");b.dispatchEvent(c)}function va(c){var e=document.createElement("li");e.className="f-stkr-w";e.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px";
e.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/p+'px"><span class="f-hlpr"></span><img src="'+c+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>';e.addEventListener("click",function(){E(this.getElementsByTagName("img")[0].src)});document.getElementsByClassName("f-stkrs f-cfx")[0].appendChild(e)}function aa(c){void 0!==document.getElementById("g_search")&&(document.getElementById("g_search").value=
"");for(var e=document.getElementsByClassName("f-stkrs f-cfx")[0];e.firstChild;)e.removeChild(e.firstChild);for(var e=document.querySelector('div[data-flg-tt="'+c+'"]'),b=e.parentElement.children.length,a=0;a<b;a++)if(-1!=e.parentElement.children[a].className.indexOf("f-active")){e.parentElement.children[a].className=e.parentElement.children[a].className.slice(0,-9);break}e.className+=" f-active";if("Populaires"!=c||document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild&&document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src==
ia[0])if("Mes Favoris"!=c||document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild&&document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src==t[0])for(da=ja=ea=!1,e=0;e<k.length;e++){if(c==y[e]&&(!document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild||document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src!=f[e][0])){for(c=0;c<f[e].length;c++)va(f[e][c].url);break}}else for(ea=!1,ja=!0,da=!1,c=0;c<t.length;c++)va(t[c]);
else for(ea=!0,da=ja=!1,c=0;c<ia.length;c++)va(ia[c])}function z(c,e){var b=document.querySelector('div[data-flg-tt="Populaires"]').parentElement.children;if(-1!=b[0].className.indexOf("f-active")||da)for(var a=0;a<f.length;a++){var m=f[a].map(function(a){return a.url}).indexOf(c);if(-1!=m){b=f[a][m];f[a].splice(m,1);f[a].unshift(b);GM_setValue(k[a],JSON.stringify(f[a]));break}}else for(a=2;a<b.length;a++)if(-1!=b[a].className.indexOf("f-active")&&(m=f[a-2].map(function(a){return a.url}).indexOf(c),
-1!=m)){b=f[a-2][m];f[a-2].splice(m,1);f[a-2].unshift(b);GM_setValue(k[a-2],JSON.stringify(f[a-2]));break}t.unshift(c);GM_setValue("catFavoris",JSON.stringify(t));ea||da||(e.parentElement.parentElement.removeChild(e.parentElement),a=document.createElement("li"),a.className="f-stkr-w",a.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px",a.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/
p+'px"><span class="f-hlpr"></span><img src="'+c+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>',a.addEventListener("click",function(){E(this.getElementsByTagName("img")[0].src)}),document.getElementsByClassName("f-stkrs f-cfx")[0].insertBefore(a,document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild))}function w(c,e){var b=document.querySelector('div[data-flg-tt="Populaires"]').parentElement.children;if(-1!=b[0].className.indexOf("f-active")||-1!=b[1].className.indexOf("f-active")||
da)for(var a=0;a<f.length;a++){var m=f[a].map(function(a){return a.url}).indexOf(c);if(-1!=m){b=f[a][m];f[a].splice(m,1);f[a].push(b);GM_setValue(k[a],JSON.stringify(f[a]));break}}else for(a=2;a<b.length;a++)if(-1!=b[a].className.indexOf("f-active")&&(m=f[a-2].map(function(a){return a.url}).indexOf(c),-1!=m)){b=f[a-2][m];f[a-2].splice(m,1);f[a-2].push(b);GM_setValue(k[a-2],JSON.stringify(f[a-2]));break}t.splice(t.indexOf(c),1);GM_setValue("catFavoris",JSON.stringify(t));ea||da||(e.parentElement.parentElement.removeChild(e.parentElement),
ja||(a=document.createElement("li"),a.className="f-stkr-w",a.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px",a.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/p+'px"><span class="f-hlpr"></span><img src="'+c+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>',a.addEventListener("click",function(){E(this.getElementsByTagName("img")[0].src)}),document.getElementsByClassName("f-stkrs f-cfx")[0].appendChild(a)))}
function ka(c,e){var b=document.querySelector('div[data-flg-tt="Populaires"]').parentElement.children;if(-1!=b[1].className.indexOf("f-active"))for(var a=0;a<f.length;a++){var m=f[a].map(function(a){return a.url}).indexOf(c);if(-1!=m){b=f[a][m];f[a].splice(m,1);f[a].unshift(b);GM_setValue(k[a],JSON.stringify(f[a]));break}}else for(a=2;a<b.length;a++)if(-1!=b[a].className.indexOf("f-active")&&(m=f[a-2].map(function(a){return a.url}).indexOf(c),-1!=m)){b=f[a-2][m];f[a-2].splice(m,1);f[a-2].unshift(b);
GM_setValue(k[a-2],JSON.stringify(f[a-2]));break}t.splice(t.indexOf(c),1);t.unshift(c);GM_setValue("catFavoris",JSON.stringify(t));e.parentElement.parentElement.removeChild(e.parentElement);a=document.createElement("li");a.className="f-stkr-w";a.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px";a.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/p+'px"><span class="f-hlpr"></span><img src="'+
c+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>';a.addEventListener("click",function(){E(this.getElementsByTagName("img")[0].src)});document.getElementsByClassName("f-stkrs f-cfx")[0].insertBefore(a,document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild)}function x(c,e){var b=e.parentElement.previousSibling.getElementsByTagName("img")[0].src,a=-1,m=document.querySelector('div[data-flg-tt="Populaires"]').parentElement.children;if(-1!=m[1].className.indexOf("f-active"))for(var h=
0;h<f.length;h++){var l=f[h].map(function(a){return a.url}).indexOf(c);if(-1!=l){a=f[h].map(function(a){return a.url}).indexOf(b);-1!=a&&(m=f[h][l],f[h].splice(l,1),f[h].splice(a,0,m),GM_setValue(k[h],JSON.stringify(f[h])));a=t.indexOf(c)-1;break}}else for(h=2;h<m.length;h++)if(-1!=m[h].className.indexOf("f-active")&&(l=f[h-2].map(function(a){return a.url}).indexOf(c),-1!=l)){m=f[h-2][l];f[h-2].splice(l,1);a=f[h-2].map(function(a){return a.url}).indexOf(b);-1!=a&&(f[h-2].splice(a,0,m),GM_setValue(k[h-
2],JSON.stringify(f[h-2])));break}t.splice(t.indexOf(c),1);t.splice(t.indexOf(b),0,c);GM_setValue("catFavoris",JSON.stringify(t));e.parentElement.parentElement.removeChild(e.parentElement);b=document.createElement("li");b.className="f-stkr-w";b.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px";b.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/p+'px"><span class="f-hlpr"></span><img src="'+
c+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>';b.addEventListener("click",function(){E(this.getElementsByTagName("img")[0].src)});document.getElementsByClassName("f-stkrs f-cfx")[0].insertBefore(b,document.getElementsByClassName("f-stkrs f-cfx")[0].childNodes[a])}function H(c,e){var b=e.parentElement.nextSibling.getElementsByTagName("img")[0].src,a=0,m=document.querySelector('div[data-flg-tt="Populaires"]').parentElement.children;if(-1!=m[1].className.indexOf("f-active"))for(var h=
0;h<f.length;h++){var l=f[h].map(function(a){return a.url}).indexOf(c);if(-1!=l){a=f[h].map(function(a){return a.url}).indexOf(b);-1!=a&&(m=f[h][l],f[h].splice(l,1),f[h].splice(a,0,m),GM_setValue(k[h],JSON.stringify(f[h])));a=t.indexOf(c);break}}else for(h=2;h<m.length;h++)if(-1!=m[h].className.indexOf("f-active")&&(l=f[h-2].map(function(a){return a.url}).indexOf(c),-1!=l)){m=f[h-2][l];f[h-2].splice(l,1);a=f[h-2].map(function(a){return a.url}).indexOf(b);-1!=a&&(f[h-2].splice(a+1,0,m),GM_setValue(k[h-
2],JSON.stringify(f[h-2])));break}t.splice(t.indexOf(c),1);t.splice(t.indexOf(b)+1,0,c);GM_setValue("catFavoris",JSON.stringify(t));e.parentElement.parentElement.removeChild(e.parentElement);b=document.createElement("li");b.className="f-stkr-w";b.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px";b.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/p+'px"><span class="f-hlpr"></span><img src="'+
c+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>';b.addEventListener("click",function(){E(this.getElementsByTagName("img")[0].src)});document.getElementsByClassName("f-stkrs f-cfx")[0].insertBefore(b,document.getElementsByClassName("f-stkrs f-cfx")[0].childNodes[a].nextSibling)}function A(c,e){var b=e.parentElement.nextSibling,a=0,m=document.querySelector('div[data-flg-tt="Populaires"]').parentElement.children;if(-1!=m[1].className.indexOf("f-active"))for(var h=0;h<f.length;h++){var l=
f[h].map(function(a){return a.url}).indexOf(c);if(-1!=l){for(a=b.parentElement.lastChild;-1==f[h].map(function(a){return a.url}).indexOf(a.getElementsByTagName("img")[0].src)&&a.getElementsByTagName("img")[0].src!=c;)a=a.previousSibling;a=f[h].map(function(a){return a.url}).indexOf(a.getElementsByTagName("img")[0].src);-1!=a&&(m=f[h][l],f[h].splice(l,1),f[h].splice(a,0,m),GM_setValue(k[h],JSON.stringify(f[h])));a=t.length-1;break}}else for(h=2;h<m.length;h++)if(-1!=m[h].className.indexOf("f-active")&&
(l=f[h-2].map(function(a){return a.url}).indexOf(c),-1!=l)){m=f[h-2][l];for(f[h-2].splice(l,1);-1!=t.indexOf(b.getElementsByTagName("img")[0].src);)b=b.nextSibling;a=f[h-2].map(function(a){return a.url}).indexOf(b.getElementsByTagName("img")[0].src);-1!=a&&(f[h-2].splice(a,0,m),GM_setValue(k[h-2],JSON.stringify(f[h-2])));break}t.splice(t.indexOf(c),1);t.push(c);GM_setValue("catFavoris",JSON.stringify(t));e.parentElement.parentElement.removeChild(e.parentElement);h=document.createElement("li");h.className=
"f-stkr-w";h.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px";h.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/p+'px"><span class="f-hlpr"></span><img src="'+c+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>';h.addEventListener("click",function(){E(this.getElementsByTagName("img")[0].src)});document.getElementsByClassName("f-stkrs f-cfx")[0].insertBefore(h,
document.getElementsByClassName("f-stkrs f-cfx")[0].childNodes[a])}function F(c){document.getElementById("m_2_urls").value=c;c=new Event("input");document.getElementById("m_2_urls").dispatchEvent(c);document.getElementById("m_sel").selectedIndex=2;c=new Event("change");document.getElementById("m_sel").dispatchEvent(c);document.getElementById("toReqModal").click()}function J(c){document.getElementById("m_3_url").value=c;c=new Event("input");document.getElementById("m_3_url").dispatchEvent(c);document.getElementById("m_sel").selectedIndex=
3;c=new Event("change");document.getElementById("m_sel").dispatchEvent(c);document.getElementById("toReqModal").click()}function N(c){document.getElementById("m_4_url").value=c;c=new Event("input");document.getElementById("m_4_url").dispatchEvent(c);document.getElementById("m_sel").selectedIndex=4;c=new Event("change");document.getElementById("m_sel").dispatchEvent(c);document.getElementById("toReqModal").click()}function W(c){document.getElementById("m_5_url").value=c;c=new Event("input");document.getElementById("m_5_url").dispatchEvent(c);
document.getElementById("m_sel").selectedIndex=5;c=new Event("change");document.getElementById("m_sel").dispatchEvent(c);document.getElementById("toReqModal").click()}function K(c){document.getElementById("m_6_url").value=c;c=new Event("input");document.getElementById("m_6_url").dispatchEvent(c);document.getElementById("m_sel").selectedIndex=6;c=new Event("change");document.getElementById("m_sel").dispatchEvent(c);document.getElementById("toReqModal").click()}function D(c){document.getElementById("m_7_url").value=
c;c=new Event("input");document.getElementById("m_7_url").dispatchEvent(c);document.getElementById("m_sel").selectedIndex=7;c=new Event("change");document.getElementById("m_sel").dispatchEvent(c);""!=document.getElementById("m_7_newurl").value&&document.getElementById("toReqModal").click()}function G(c){document.getElementById("m_7_newurl").value=c;c=new Event("input");document.getElementById("m_7_newurl").dispatchEvent(c);document.getElementById("m_sel").selectedIndex=7;c=new Event("change");document.getElementById("m_sel").dispatchEvent(c);
""!=document.getElementById("m_7_url").value&&document.getElementById("toReqModal").click()}function L(c){document.getElementById("m_8_url").value=c;c=new Event("input");document.getElementById("m_8_url").dispatchEvent(c);document.getElementById("m_sel").selectedIndex=8;c=new Event("change");document.getElementById("m_sel").dispatchEvent(c);document.getElementById("toReqModal").click()}function za(){document.getElementById("message_topic").removeEventListener("click",za);Aa()}function Sa(c,e,b){function a(a){return(f?
/^\d+[A-Za-z]*$/:/^\d+$/).test(a)}var f=b&&b.lexicographical;b=b&&b.zeroExtend;c=c.split(".");e=e.split(".");if(!c.every(a)||!e.every(a))return NaN;if(b){for(;c.length<e.length;)c.push("0");for(;e.length<c.length;)e.push("0")}f||(c=c.map(Number),e=e.map(Number));for(b=0;b<c.length;++b){if(e.length==b)return 1;if(c[b]!=e[b])return c[b]>e[b]?1:-1}return c.length!=e.length?-1:0}function Ta(){for(var c="",e=0;e<Ba.length;e++)c+="<option>"+Ba[e]+"</option>";return c}function Ua(){for(var c="",e=0;e<X.length;e++)var b=
k.indexOf(X[e]),c=c+('<option id="'+k[b]+'">'+y[b]+"</option>");return c}function Va(){for(var c="",e=0;e<k.length;e++)-1==X.indexOf(k[e])&&(c+='<option id="'+k[e]+'">'+y[e]+"</option>");return c}function Wa(){if(Ca){for(var c=function(a){return function(){var c=b[a].alt,g=b[a].src;c.includes("/fichiers/")&&(c.endsWith(".png")||c.endsWith(".gif"))?g=b[a].alt:c.includes("/minis/")&&(c.endsWith(".png")||c.endsWith(".gif"))?(g=b[a].alt,g=g.replace("/minis/","/fichiers/")):b[a].src.includes("/minis/")&&
(c.endsWith(".png")||c.endsWith(".gif"))?(g=g.replace("/minis/","/fichiers/"),c.endsWith(".gif")&&(g=g.replace(".png",".gif"))):b[a].src.includes("/minis/")&&(c.endsWith(".jpg")||c.endsWith(".jpeg"))&&(g=g.replace("/minis/","/fichiers/"),c.endsWith(".jpg")?g=g.replace(".png",".jpg"):c.endsWith(".jpeg")&&(g=g.replace(".png",".jpeg")));c=new Image;c.addEventListener("load",function(){this.width/this.height>4/3*.99&&this.width/this.height<4/3*1.01&&(Ga||(b[a].parentElement.style.display="none",b[a].parentElement.parentElement.insertBefore(b[a],
b[a].parentElement)),b[a].src=this.src)});c.src=g}},e=[],b=document.getElementsByClassName("img-shack"),a=0;a<b.length;a++)e[a]=c(a),e[a]();if(100!=I){c=document.getElementsByClassName("img-shack");for(a=0;a<c.length;a++)c[a].width=c[a].width*I/100,c[a].height=c[a].height*I/100;c=document.getElementsByClassName("img-stickers");for(a=0;a<c.length;a++)c[a].width=c[a].width*I/100,c[a].height=c[a].height*I/100,c[a].className.includes("stickersM")||(c[a].className+=" stickersM")}}if(!Ca&&100!=I){b=document.getElementsByClassName("img-shack");
for(a=0;a<b.length;a++)b[a].width=b[a].width*I/100,b[a].height=b[a].height*I/100;c=document.getElementsByClassName("img-stickers");for(a=0;a<c.length;a++)c[a].width=c[a].width*I/100,c[a].height=c[a].height*I/100,c[a].className.includes("stickersM")||(c[a].className+=" stickersM")}if(Xa){for(var a=function(a){return function(){for(var b=-1,c=0;c<f.length;c++)if(b=f[c].map(function(a){return a.url}).indexOf(k[a].alt),-1!=b){k[a].addEventListener("mouseover",function(){m.push(new Audio(f[c][b].sounds[Math.floor(Math.random()*
f[c][b].sounds.length)]));m[h].play();h++});k[a].addEventListener("mouseout",function(){m[h-1].pause()});break}}},c=[],m=[],h=0,k=document.getElementsByClassName("img-shack"),e=0;e<k.length;e++)c[e]=a(e);for(e=0;e<k.length;e++)c[e]()}if(Ha||Ia||Ja)for(c=document.getElementsByClassName("xXx"),a=0;a<c.length;a++)if(Ka||!Ka&&!c[a].parentElement.parentElement.className.includes("signature-msg")){Ha&&(c[a].href.startsWith("http://webm.land/w/")?(c[a].style.display="none",e=c[a].href.replace("http://webm.land/w/",
"").replace("/","")+".webm",video=document.createElement("video"),video.width=Da,video.height=Ea,video.innerHTML='<source src="http://webm.land/media/'+e+'" type="video/webm">',video.setAttribute("loop","loop"),c[a].parentElement.insertBefore(video,c[a]),video.addEventListener("mouseover",function(){$(this).get(0).currentTime=0;$(this).get(0).play()}),video.addEventListener("mouseout",function(){$(this).get(0).pause()})):c[a].href.endsWith(".webm")&&(c[a].style.display="none",video=document.createElement("video"),
video.width=Da,video.height=Ea,video.innerHTML='<source src="'+c[a].href+'" type="video/webm">',video.setAttribute("loop","loop"),c[a].parentElement.insertBefore(video,c[a]),video.addEventListener("mouseover",function(){$(this).get(0).currentTime=0;$(this).get(0).play()}),video.addEventListener("mouseout",function(){$(this).get(0).pause()})));if(Ia&&(c[a].href.startsWith("https://www.youtube.com/watch?v=")||c[a].href.startsWith("https://youtu.be/"))){e="";if(c[a].href.startsWith("https://www.youtube.com/watch?v="))var e=
c[a].href.indexOf("v="),g=c[a].href.indexOf("&",e),e=-1==g?c[a].href.substring(e+2):c[a].href.substring(e+2,g);else c[a].href.startsWith("https://youtu.be/")&&(g=c[a].href.indexOf("?",17),e=-1==g?c[a].href.substring(17):c[a].href.substring(17,g));c[a].style.display="none";video=document.createElement("object");video.setAttribute("style","width:100%;height:100%;width: "+Da+"px; height: "+Ea+"px; float: none; clear: both; margin: 2px auto;");g=c[a].href.indexOf("t=");if(-1!=g){var l=0,t=c[a].href.indexOf("&",
g);-1==t&&(c[a].href+="&",t=c[a].href.indexOf("&",g));var p=c[a].href.indexOf("h",g),n=c[a].href.indexOf("m",g),y=c[a].href.indexOf("s",g),aa=!1;-1!=p&&p<t&&(aa=!0);var u=!1;-1!=n&&n<t&&(u=!0);var z=!1;-1!=y&&y<t&&(z=!0);aa&&(l+=Number(3600*c[a].href.substring(g+2,p)));u&&(l=aa?l+Number(60*c[a].href.substring(p+1,n)):l+Number(60*c[a].href.substring(g+2,n)));z&&(l=u?l+Number(c[a].href.substring(n+1,y)):aa?l+Number(c[a].href.substring(p+1,y)):l+Number(c[a].href.substring(g+2,y)));aa||u||z||(l+=Number(c[a].href.substring(g+
2,t)));e+="?start="+l}video.setAttribute("data","http://www.youtube.com/embed/"+e);c[a].parentElement.insertBefore(video,c[a])}Ja&&c[a].href.startsWith("http://vocaroo.com/i/")&&(c[a].style.display="none",e=c[a].href.replace("http://vocaroo.com/i/","").replace("/",""),vocaroo=document.createElement("object"),vocaroo.width="148",vocaroo.height="44",vocaroo.innerHTML='<param name="movie" value="http://vocaroo.com/player.swf?playMediaID='+e+'&autoplay=0"></param><param name="wmode" value="transparent"></param><embed src="http://vocaroo.com/player.swf?playMediaID='+
e+'&autoplay=0" width="148" height="44" wmode="transparent" type="application/x-shockwave-flash"></embed>',c[a].parentElement.insertBefore(vocaroo,c[a]))}if(!Ga&&!Ca)for(var c=function(a){return function(){var b=q[a].alt,c=q[a].src;b.includes("/fichiers/")&&(b.endsWith(".png")||b.endsWith(".gif"))?c=q[a].alt:b.includes("/minis/")&&(b.endsWith(".png")||b.endsWith(".gif"))?(c=q[a].alt,c=c.replace("/minis/","/fichiers/")):q[a].src.includes("/minis/")&&(b.endsWith(".png")||b.endsWith(".gif"))?(c=c.replace("/minis/",
"/fichiers/"),b.endsWith(".gif")&&(c=c.replace(".png",".gif"))):q[a].src.includes("/minis/")&&(b.endsWith(".jpg")||b.endsWith(".jpeg"))&&(c=c.replace("/minis/","/fichiers/"),b.endsWith(".jpg")?c=c.replace(".png",".jpg"):b.endsWith(".jpeg")&&(c=c.replace(".png",".jpeg")));b=new Image;b.addEventListener("load",function(){this.width/this.height>4/3*.99&&this.width/this.height<4/3*1.01&&(q[a].parentElement.style.display="none",q[a].parentElement.parentElement.insertBefore(q[a],q[a].parentElement))});
b.src=c}},e=[],q=document.getElementsByClassName("img-shack"),a=0;a<q.length;a++)e[a]=c(a),e[a]()}function wa(){La=!0;setTimeout(function(){function c(Ya){for(var d="",a=0;a<k.length;a++)d+='<option value="'+k[a]+'">'+y[a]+"</option>";Ya&&(d+='<option value="undefCat" selected>Autre cat\u00e9gorie</option>');return d}function e(){var a=document.getElementById("m_0_tags").value,d=document.getElementById("m_0_txt");if(0<B.length&&""!=a){document.getElementById("m_0_urls").setAttribute("style","text-align:center;");
document.getElementById("m_0_tags").setAttribute("style","text-align:center;");var b="";0<v.length&&(document.getElementById("m_0_urls").setAttribute("style","text-align:center;border:1px solid darkorange;"),b=1<v.length?b+("<div style='color:darkorange;'><b>Des adresses ne sont pas valides et seront ignor\u00e9es!</br>Adresses invalides: </b><i>"+v.join(", ")+"</i></div>"):b+("<div style='color:darkorange;'><b>L'adresse </b><i>"+v[0]+"</i><b> n'est pas valide et sera ignor\u00e9e!</b></div>"),0<
T.length||0<F.length)&&(b+="</br>");0<T.length&&(document.getElementById("m_0_urls").setAttribute("style","text-align:center;border:1px solid darkorange;"),b=1<T.length?b+("<div style='color:darkorange;'><b>Des adresses valides sont d\u00e9j\u00e0 int\u00e9gr\u00e9es et seront ignor\u00e9es!</br>Adresses d\u00e9j\u00e0 int\u00e9gr\u00e9es: </b><i>"+T.join(", ")+"</i></div>"):b+("<div style='color:darkorange;'><b>L'adresse </b><i>"+T[0]+"</i><b> est d\u00e9j\u00e0 int\u00e9gr\u00e9e et sera ignor\u00e9e!</b></div>"),
0<F.length&&(b+="</br>"));document.getElementById("m_0_sons").setAttribute("style","text-align:center;");0<F.length&&(document.getElementById("m_0_sons").setAttribute("style","text-align:center;border:1px solid darkorange;"),b=1<F.length?b+("<div style='color:darkorange;'><b>Des sons ne sont pas valides et seront ignor\u00e9s!</br>Sons invalides: </b><i>"+F.join(", ")+"</i></div>"):b+("<div style='color:darkorange;'><b>Le son </b><i>"+F[0]+"</i><b> n'est pas valide et sera ignor\u00e9!</b></div>"));
1>v.length&&1>T.length&&1>F.length?d.parentElement.parentElement.setAttribute("style","display:none;"):d.parentElement.parentElement.removeAttribute("style");d.innerHTML=b;document.getElementById("envoyerReq").disabled=!1}else document.getElementById("envoyerReq").disabled=!0,b="",""==document.getElementById("m_0_urls").value?(document.getElementById("m_0_urls").setAttribute("style","text-align:center;border:1px solid red;"),b+="<div style='color:red;'><b>Veuillez saisir au moins une adresse!</b></div>"):
1>B.length?(document.getElementById("m_0_urls").setAttribute("style","text-align:center;border:1px solid red;"),0<v.length&&(b=1<v.length?b+("<div style='color:red;'><b>Aucune adresse n'est valide!</br>Adresses invalides: </b><i>"+v.join(", ")+"</i></div>"):b+("<div style='color:red;'><b>L'adresse </b><i>"+v[0]+"</i><b> n'est pas valide!</b></div>"),0<T.length&&(b+="</br>")),0<T.length&&(b=1<T.length?b+("<div style='color:red;'><b>Toutes les adresses valides sont d\u00e9j\u00e0 int\u00e9gr\u00e9es!</br>Adresses d\u00e9j\u00e0 int\u00e9gr\u00e9es: </b><i>"+
T.join(", ")+"</i></div>"):b+("<div style='color:red;'><b>L'adresse </b><i>"+T[0]+"</i><b> est d\u00e9j\u00e0 int\u00e9gr\u00e9e!</b></div>"))):document.getElementById("m_0_urls").setAttribute("style","text-align:center;"),""==a?(document.getElementById("m_0_tags").setAttribute("style","text-align:center;border:1px solid red;"),""==b&&(b+="<div style='color:red;'><b>Veuillez saisir au moins un tag!</b></div>")):document.getElementById("m_0_tags").setAttribute("style","text-align:center;"),d.parentElement.parentElement.removeAttribute("style"),
d.innerHTML=b}function b(){var a=document.getElementById("m_1_txt");if(""!=document.getElementById("m_1_name").value&&""==J)a.parentElement.parentElement.setAttribute("style","display:none;"),document.getElementById("m_1_name").setAttribute("style","text-align:center;"),document.getElementById("envoyerReq").disabled=!1;else{document.getElementById("envoyerReq").disabled=!0;var d="";a.parentElement.parentElement.removeAttribute("style");""==document.getElementById("m_1_name").value?(document.getElementById("m_1_name").setAttribute("style",
"text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Veuillez saisir le nom de la cat\u00e9gorie</b></div>"):""!=J?(document.getElementById("m_1_name").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Le nom </b><i>"+J+"</i><b> est d\u00e9j\u00e0 pris</b></div>"):document.getElementById("m_1_name").setAttribute("style","text-align:center;");a.parentElement.parentElement.removeAttribute("style");a.innerHTML=d}}function a(){var a=document.getElementById("m_2_cat"),
d=document.getElementById("m_2_txt");if(0<r.length){document.getElementById("m_2_urls").setAttribute("style","text-align:center;");var b="";0<U.length&&(document.getElementById("m_2_urls").setAttribute("style","text-align:center;border:1px solid darkorange;"),b=1<U.length?b+("<div style='color:darkorange;'><b>Des adresses ne sont pas valides et seront ignor\u00e9es!</br>Adresses invalides: </b><i>"+U.join(", ")+"</i></div>"):b+("<div style='color:darkorange;'><b>L'adresse </b><i>"+U[0]+"</i><b> n'est pas valide et sera ignor\u00e9e!</b></div>"),
0<S.length||0<O.length)&&(b+="</br>");0<S.length&&(document.getElementById("m_2_urls").setAttribute("style","text-align:center;border:1px solid darkorange;"),b=1<S.length?b+("<div style='color:darkorange;'><b>Des stickers n'ont pas \u00e9t\u00e9 trouv\u00e9es et seront ignor\u00e9s!</br>Adresses des stickers introuvables: </b><i>"+S.join(", ")+"</i></div>"):b+("<div style='color:darkorange;'><b>Le sticker </b><i>"+S[0]+"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9 et sera ignor\u00e9e!</b></div>"),0<
O.length&&(b+="</br>"));0<O.length&&(document.getElementById("m_2_urls").setAttribute("style","text-align:center;border:1px solid darkorange;"),b=1<O.length?b+("<div style='color:darkorange;'><b>Des stickers appartiennent d\u00e9j\u00e0 \u00e0 la cat\u00e9gorie </b><i>"+a.options[a.selectedIndex].innerHTML+"</i><b> et seront ignor\u00e9s!</br>Adresses des stickers ignor\u00e9s: </b><i>"+O.join(", ")+"</i></div>"):b+("<div style='color:darkorange;'><b>Le sticker </b><i>"+O[0]+"</i><b> appartient d\u00e9j\u00e0 \u00e0 la cat\u00e9gorie </b><i>"+
a.options[a.selectedIndex].innerHTML+"</i><b> et sera ignor\u00e9!</b></div>"));1>U.length&&1>S.length&&1>O.length?d.parentElement.parentElement.setAttribute("style","display:none;"):d.parentElement.parentElement.removeAttribute("style");d.innerHTML=b;document.getElementById("envoyerReq").disabled=!1}else document.getElementById("envoyerReq").disabled=!0,b="",""==document.getElementById("m_2_urls").value?(document.getElementById("m_2_urls").setAttribute("style","text-align:center;border:1px solid red;"),
b+="<div style='color:red;'><b>Veuillez saisir l'adresse d'au moins un sticker!</b></div>"):1>r.length?(document.getElementById("m_2_urls").setAttribute("style","text-align:center;border:1px solid red;"),0<U.length&&(b=1<U.length?b+("<div style='color:red;'><b>Aucune adresse n'est valide!</br>Adresses invalides: </b><i>"+U.join(", ")+"</i></div>"):b+("<div style='color:red;'><b>L'adresse </b><i>"+U[0]+"</i><b> n'est pas valide!</b></div>"),0<S.length||0<O.length)&&(b+="</br>"),0<S.length&&(b=1<S.length?
b+("<div style='color:red;'><b>Aucun sticker n'a \u00e9t\u00e9 trouv\u00e9!</br>Adresses des stickers introuvables: </b><i>"+S.join(", ")+"</i></div>"):b+("<div style='color:red;'><b>Le sticker </b><i>"+S[0]+"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9!</b></div>"),0<O.length&&(b+="</br>")),0<O.length&&(b=1<O.length?b+("<div style='color:red;'><b>Tous les stickers appartiennent d\u00e9j\u00e0 \u00e0 la cat\u00e9gorie </b><i>"+a.options[a.selectedIndex].innerHTML+"</i><b>!</br>Adresses des stickers concern\u00e9s: </b><i>"+
O.join(", ")+"</i></div>"):b+("<div style='color:red;'><b>Le sticker </b><i>"+O[0]+"</i><b> appartient d\u00e9j\u00e0 \u00e0 la cat\u00e9gorie </b><i>"+a.options[a.selectedIndex].innerHTML+"</i><b>!</b></div>"))):document.getElementById("m_2_urls").setAttribute("style","text-align:center;"),d.parentElement.parentElement.removeAttribute("style"),d.innerHTML=b}function m(){var a=document.getElementById("m_3_txt");if(""!=document.getElementById("m_3_url").value&&N&&K&&JSON.stringify(D.sort())!=JSON.stringify(G.sort())&&
""!=document.getElementById("m_3_tags").value)a.parentElement.parentElement.setAttribute("style","display:none;"),document.getElementById("m_3_url").setAttribute("style","text-align:center;"),document.getElementById("m_3_tags").setAttribute("style","text-align:center;"),document.getElementById("envoyerReq").disabled=!1;else{document.getElementById("envoyerReq").disabled=!0;var d="";a.parentElement.parentElement.removeAttribute("style");""==document.getElementById("m_3_url").value?(document.getElementById("m_3_url").setAttribute("style",
"text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"):N?K?document.getElementById("m_3_url").setAttribute("style","text-align:center;"):(document.getElementById("m_3_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Le sticker </b><i>"+document.getElementById("m_3_url").value+"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9!</b></div>"):(document.getElementById("m_3_url").setAttribute("style",
"text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>L'adresse </b><i>"+document.getElementById("m_3_url").value+"</i><b> n'est pas valide!</b></div>");""==document.getElementById("m_3_tags").value?(document.getElementById("m_3_tags").setAttribute("style","text-align:center;border:1px solid red;"),""==d&&(d+="<div style='color:red;'><b>Veuillez saisir au moins un tag!</b></div>")):JSON.stringify(D.sort())==JSON.stringify(G.sort())?(document.getElementById("m_3_tags").setAttribute("style",
"text-align:center;border:1px solid red;"),""==d&&(d+="<div style='color:red;'><b>Tags identiques aux anciens</b></div>")):document.getElementById("m_3_tags").setAttribute("style","text-align:center;");a.parentElement.parentElement.removeAttribute("style");a.innerHTML=d}}function h(){var a=document.getElementById("m_4_txt");if(""!=document.getElementById("m_4_url").value&&L&&M&&JSON.stringify(P.sort())!=JSON.stringify(I.sort())){document.getElementById("m_4_url").setAttribute("style","text-align:center;");
document.getElementById("m_4_sons").setAttribute("style","text-align:center;");var d="";0<Y.length?(document.getElementById("m_4_sons").setAttribute("style","text-align:center;border:1px solid darkorange;"),d=1<Y.length?d+("<div style='color:darkorange;'><b>Des sons ne sont pas valides et seront ignor\u00e9s!</br>Sons invalides: </b><i>"+Y.join(", ")+"</i></div>"):d+("<div style='color:darkorange;'><b>Le son </b><i>"+Y[0]+"</i><b> n'est pas valide et sera ignor\u00e9!</b></div>"),a.parentElement.parentElement.removeAttribute("style")):
a.parentElement.parentElement.setAttribute("style","display:none;");a.innerHTML=d;document.getElementById("envoyerReq").disabled=!1}else document.getElementById("envoyerReq").disabled=!0,d="",a.parentElement.parentElement.removeAttribute("style"),""==document.getElementById("m_4_url").value?(document.getElementById("m_4_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"):L?M?document.getElementById("m_4_url").setAttribute("style",
"text-align:center;"):(document.getElementById("m_4_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Le sticker </b><i>"+document.getElementById("m_4_url").value+"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9!</b></div>"):(document.getElementById("m_4_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>L'adresse </b><i>"+document.getElementById("m_4_url").value+"</i><b> n'est pas valide!</b></div>"),JSON.stringify(P.sort())==
JSON.stringify(I.sort())?(document.getElementById("m_4_sons").setAttribute("style","text-align:center;border:1px solid red;"),""==d&&(d=0<Y.length?1<Y.length?d+("<div style='color:red;'><b>Sons identiques aux anciens car des sons ne sont pas valides!</br>Sons invalides: </b><i>"+Y.join(", ")+"</i></div>"):d+("<div style='color:red;'><b>Sons identiques aux anciens car le son </b><i>"+Y[0]+"</i><b> n'est pas valide!</b></div>"):d+"<div style='color:red;'><b>Sons identiques aux anciens!</b></div>")):
""!=document.getElementById("m_4_url").value&&L&&M?document.getElementById("m_4_sons").setAttribute("style","text-align:center;"):document.getElementById("m_4_sons").setAttribute("style","text-align:center;border:1px solid red;"),a.parentElement.parentElement.removeAttribute("style"),a.innerHTML=d}function t(){var a=document.getElementById("m_5_txt");if(""!=document.getElementById("m_5_url").value&&W&&la&&0<ba.length&&JSON.stringify(Q.sort())!=JSON.stringify(ba.sort())){document.getElementById("m_5_url").setAttribute("style",
"text-align:center;");document.getElementById("m_5_sons").setAttribute("style","text-align:center;");var d="";0<Z.length?(document.getElementById("m_5_sons").setAttribute("style","text-align:center;border:1px solid darkorange;"),d=1<Z.length?d+("<div style='color:darkorange;'><b>Des sons ne sont pas valides et seront ignor\u00e9s!</br>Sons invalides: </b><i>"+Z.join(", ")+"</i></div>"):d+("<div style='color:darkorange;'><b>Le son </b><i>"+Z[0]+"</i><b> n'est pas valide et sera ignor\u00e9!</b></div>"),
a.parentElement.parentElement.removeAttribute("style")):a.parentElement.parentElement.setAttribute("style","display:none;");a.innerHTML=d;document.getElementById("envoyerReq").disabled=!1}else document.getElementById("envoyerReq").disabled=!0,d="",a.parentElement.parentElement.removeAttribute("style"),""==document.getElementById("m_5_url").value?(document.getElementById("m_5_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker d'un groupe!</b></div>"):
W?la?1>ba.length?(document.getElementById("m_5_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Le sticker </b><i>"+document.getElementById("m_5_url").value+"</i><b> n'appartient \u00e0 aucun groupe!</b></div>"):document.getElementById("m_5_url").setAttribute("style","text-align:center;"):(document.getElementById("m_5_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Le sticker </b><i>"+document.getElementById("m_5_url").value+
"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9!</b></div>"):(document.getElementById("m_5_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>L'adresse </b><i>"+document.getElementById("m_5_url").value+"</i><b> n'est pas valide!</b></div>"),JSON.stringify(Q.sort())==JSON.stringify(ba.sort())?(document.getElementById("m_5_sons").setAttribute("style","text-align:center;border:1px solid red;"),""==d&&(d=0<Z.length?1<Z.length?d+("<div style='color:red;'><b>Sons identiques aux anciens car des sons ne sont pas valides!</br>Sons invalides: </b><i>"+
Z.join(", ")+"</i></div>"):d+("<div style='color:red;'><b>Sons identiques aux anciens car le son </b><i>"+Z[0]+"</i><b> n'est pas valide!</b></div>"):d+"<div style='color:red;'><b>Sons identiques aux anciens!</b></div>")):""!=document.getElementById("m_5_url").value&&W&&la?document.getElementById("m_5_sons").setAttribute("style","text-align:center;"):document.getElementById("m_5_sons").setAttribute("style","text-align:center;border:1px solid red;"),a.parentElement.parentElement.removeAttribute("style"),
a.innerHTML=d}function g(){var a=document.getElementById("m_6_txt");if(""!=document.getElementById("m_6_url").value&&pa&&ma){document.getElementById("m_6_url").setAttribute("style","text-align:center;");document.getElementById("m_6_newurl").setAttribute("style","text-align:center;");var d="";document.getElementById("m_6_url").value==document.getElementById("m_6_newurl").value?(document.getElementById("m_6_newurl").setAttribute("style","text-align:center;border:1px solid darkorange;"),d+="<div style='color:darkorange;'><b>L'adresse </b><i>"+
document.getElementById("m_6_newurl").value+"</i><b> est identique et sera ignor\u00e9e!</b></div>",a.parentElement.parentElement.removeAttribute("style")):""==document.getElementById("m_6_newurl").value||fa?""!=document.getElementById("m_6_newurl").value&&ga?(document.getElementById("m_6_newurl").setAttribute("style","text-align:center;border:1px solid darkorange;"),d+="<div style='color:darkorange;'><b>L'adresse </b><i>"+document.getElementById("m_6_newurl").value+"</i><b> est d\u00e9j\u00e0 int\u00e9gr\u00e9e et sera ignor\u00e9e!</b></div>",
a.parentElement.parentElement.removeAttribute("style")):a.parentElement.parentElement.setAttribute("style","display:none;"):(document.getElementById("m_6_newurl").setAttribute("style","text-align:center;border:1px solid darkorange;"),d+="<div style='color:darkorange;'><b>L'adresse </b><i>"+document.getElementById("m_6_newurl").value+"</i><b> n'est pas valide et sera ignor\u00e9e!</b></div>",a.parentElement.parentElement.removeAttribute("style"));a.innerHTML=d;document.getElementById("envoyerReq").disabled=
!1}else document.getElementById("envoyerReq").disabled=!0,d="",a.parentElement.parentElement.removeAttribute("style"),""==document.getElementById("m_6_url").value?(document.getElementById("m_6_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"):pa?ma?document.getElementById("m_6_url").setAttribute("style","text-align:center;"):(document.getElementById("m_6_url").setAttribute("style","text-align:center;border:1px solid red;"),
d+="<div style='color:red;'><b>Le sticker </b><i>"+document.getElementById("m_6_url").value+"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9!</b></div>"):(document.getElementById("m_6_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>L'adresse </b><i>"+document.getElementById("m_6_url").value+"</i><b> n'est pas valide!</b></div>"),""==document.getElementById("m_6_newurl").value||fa&&!ga?document.getElementById("m_6_newurl").setAttribute("style","text-align:center;"):
document.getElementById("m_6_newurl").setAttribute("style","text-align:center;border:1px solid darkorange;"),a.parentElement.parentElement.removeAttribute("style"),a.innerHTML=d}function p(){var a=document.getElementById("m_7_txt");if(""!=document.getElementById("m_7_url").value&&""!=document.getElementById("m_7_newurl").value&&document.getElementById("m_7_url").value!=document.getElementById("m_7_newurl").value&&qa&&ra&&na&&oa)a.parentElement.parentElement.setAttribute("style","display:none;"),document.getElementById("m_7_url").setAttribute("style",
"text-align:center;"),document.getElementById("m_7_newurl").setAttribute("style","text-align:center;"),document.getElementById("envoyerReq").disabled=!1;else{document.getElementById("envoyerReq").disabled=!0;var d="";a.parentElement.parentElement.removeAttribute("style");""==document.getElementById("m_7_url").value?(document.getElementById("m_7_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"):qa?
ra?document.getElementById("m_7_url").setAttribute("style","text-align:center;"):(document.getElementById("m_7_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Le sticker </b><i>"+document.getElementById("m_7_url").value+"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9!</b></div>"):(document.getElementById("m_7_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>L'adresse </b><i>"+document.getElementById("m_7_url").value+
"</i><b> n'est pas valide!</b></div>");document.getElementById("m_7_url").value==document.getElementById("m_7_newurl").value?(document.getElementById("m_7_newurl").setAttribute("style","text-align:center;border:1px solid red;"),""==d&&(d+="<div style='color:red;'><b>L'adresse </b><i>"+document.getElementById("m_7_newurl").value+"</i><b> est identique!</b></div>")):""==document.getElementById("m_7_newurl").value?(document.getElementById("m_7_newurl").setAttribute("style","text-align:center;border:1px solid red;"),
""==d&&(d+="<div style='color:red;'><b>Veuillez saisir l'adresse du doublon!</b></div>")):na?oa?document.getElementById("m_7_newurl").setAttribute("style","text-align:center;"):(document.getElementById("m_7_newurl").setAttribute("style","text-align:center;border:1px solid red;"),""==d&&(d+="<div style='color:red;'><b>Le doublon </b><i>"+document.getElementById("m_7_newurl").value+"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9!</b></div>")):(document.getElementById("m_7_newurl").setAttribute("style","text-align:center;border:1px solid red;"),
""==d&&(d+="<div style='color:red;'><b>L'adresse du doublon </b><i>"+document.getElementById("m_7_newurl").value+"</i><b> n'est pas valide!</b></div>"));a.parentElement.parentElement.removeAttribute("style");a.innerHTML=d}}function n(){var a=document.getElementById("m_8_txt");if(""!=document.getElementById("m_8_url").value&&sa&&ta)a.parentElement.parentElement.setAttribute("style","display:none;"),document.getElementById("m_8_url").setAttribute("style","text-align:center;"),document.getElementById("envoyerReq").disabled=
!1;else{document.getElementById("envoyerReq").disabled=!0;var d="";a.parentElement.parentElement.removeAttribute("style");""==document.getElementById("m_8_url").value?(document.getElementById("m_8_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"):sa?ta?document.getElementById("m_8_url").setAttribute("style","text-align:center;"):(document.getElementById("m_8_url").setAttribute("style","text-align:center;border:1px solid red;"),
d+="<div style='color:red;'><b>Le sticker </b><i>"+document.getElementById("m_8_url").value+"</i><b> n'a pas \u00e9t\u00e9 trouv\u00e9!</b></div>"):(document.getElementById("m_8_url").setAttribute("style","text-align:center;border:1px solid red;"),d+="<div style='color:red;'><b>L'adresse </b><i>"+document.getElementById("m_8_url").value+"</i><b> n'est pas valide!</b></div>");a.parentElement.parentElement.removeAttribute("style");a.innerHTML=d}}function z(a){return function(){var d=k.indexOf(X[a]),
b=document.createElement("div");b.className="f-tab f-h";b.style.width="25px";b.style.height="23px";b.style.lineHeight="23px";b.style.fontSize="14px";b.setAttribute("data-flg-tt",y[d]);b.innerHTML=ua[d]+'<div style="display: none;" class="f-ttw"><div style="top: -26px; left: -9px;" class="f-inner"><div class="f-tt">'+y[d]+'</div><div class="f-arr"></div></div></div>';b.addEventListener("click",function(){aa(y[d])});x.appendChild(b)}}for(var x=document.querySelector('div[data-flg-tt="Populaires"]').parentElement,
E=$(document.querySelector('div[data-flg-tt="Populaires"]')).outerHeight(!0),w=$(document.querySelector('div[data-flg-tt="Populaires"]')).outerWidth(!0);x.firstChild;)x.removeChild(x.firstChild);var u=document.createElement("div");u.className="f-tab f-h f-active";u.style.width="25px";u.style.height="23px";u.style.lineHeight="23px";u.style.fontSize="14px";u.setAttribute("data-flg-tt","Populaires");u.innerHTML='$<div style="display: none;" class="f-ttw"><div style="top: -26px; left: -9px;" class="f-inner"><div class="f-tt">Populaires</div><div class="f-arr"></div></div></div>';
u.onclick=function(){aa("Populaires")};document.querySelector('div[data-flg-tt="Bibliothèque"]').parentElement.setAttribute("style","display:none !important;height:0px !important;width:0px !important");x.appendChild(u);u=document.createElement("div");u.className="f-tab f-h";u.style.width="25px";u.style.height="23px";u.style.lineHeight="23px";u.style.fontSize="14px";u.setAttribute("data-flg-tt","Mes Favoris");u.innerHTML='\u00e2<div style="display: none;" class="f-ttw"><div style="top: -26px; left: -9px;" class="f-inner"><div class="f-tt">Mes Favoris</div><div class="f-arr"></div></div></div>';
u.onclick=function(){aa("Mes Favoris")};x.appendChild(u);var H=!1,ka=!1;(new MutationObserver(function(a,d){var b=document.getElementsByClassName("f-stkrs f-cfx")[0].getElementsByClassName("f-stkr-w");if(27<b.length){d.disconnect();ka=!0;if(0<ha.length){for(var c=0;20>c;c++)ha.unshift(b[19-c].getElementsByTagName("img")[0].src);for(c=0;20>c;c++)b=ha.indexOf(ha[c],20),-1!=b&&ha.splice(b,1);ha.splice(40);ia=ha;GM_setValue("catPopulaires",JSON.stringify(ia))}aa("Populaires")}else!1===H&&(H=!0,setTimeout(function(){ka||
(d.disconnect(),ia=JSON.parse(GM_getValue("catPopulaires")),aa(Fa))},5E3))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1});u=document.createElement("div");u.innerHTML='<div id="reqModal" style="display:none;"><div class="modal-header"><h2 class="modal-title" style="color:#d13321; text-align:center;"><u>Effectuer une demande</u></h2></div><div class="modal-body"><div style="text-align: center;"><br><br><select id="m_sel"><option>Ajouter des stickers</option><option>Ajouter une cat\u00e9gorie</option><option>Modifier la cat\u00e9gorie de stickers</option><option>Modifier les tags d\'un sticker</option><option>Modifier les sons d\'un sticker</option><option>Modifier les sons d\'un groupe de stickers</option><option>Signaler un lien mort</option><option>Signaler un doublon</option><option>Supprimer un sticker</option></select><br></div><div class="optCategorie" id="m_0"><table><h3>Ajouter des stickers</h3><tr><td style="text-align: left;padding-left:10%;"><label>Pr\u00e9visualisations</label></td><td style="text-align:center;" id="m_0_imgs"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_0_urls">Adresses des images</label></td><td style="text-align: center;"><textarea rows="5" cols="45" id="m_0_urls" placeholder="https://image.noelshack.com/fichiers/example1.png https://image.noelshack.com/fichiers/example2.gif http://image.noelshack.com/fichiers/example3.png http://jv.stkr.fr/p/exemple?f-ed=1" style="text-align:center;border:1px solid red;"></textarea></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_0_cat">Cat\u00e9gorie</label></td><td style="text-align: center;"><select id="m_0_cat" style="width:50%">'+
c(!0)+'</select></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_0_tags">Tags</label></td><td style="text-align: center;"><textarea rows="3" cols="45" placeholder="tag1 tag2 tag3" id="m_0_tags" style="text-align:center;border:1px solid red;"></textarea></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_0_sons">Adresses des sons</label></td><td style="text-align: center;"><textarea rows="5" cols="45" placeholder="http://* https://*" id="m_0_sons" style="text-align:center;"></textarea></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_0_txt"><b style="color:red;">Veuillez saisir au moins une adresse!</b></p></td></tr></table><br></div><div class="optCategorie" id="m_1" style="display:none;"><table><h3>Ajouter une cat\u00e9gorie</h3><tr><td style="text-align: left;padding-left:10%;"><label for="m_1_name">Nom de la cat\u00e9gorie</label></td><td style="text-align: center;"><input id="m_1_name" style="text-align:center;border:1px solid red;" placeholder="Ma Cat\u00e9gorie" size="50"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_1_icone">Ic\u00f4ne</label></td><td style="text-align:center;"><select id="m_1_icone" style="font-family:\'flgstickers\';font-size:2em;">'+
function(){for(var a="",d="!\"#$%&'()123456789:;<=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a1\u00a2\u00a3\u00a4\u00a5\u00a6\u00a7\u00a8\u00a9\u00aa\u00ab\u00ac\u00ae\u00af\u00b0\u00b1\u00b2\u00b3\u00b4\u00b5\u00b6\u00b8\u00b9\u00ba\u00bb\u00bc\u00bd\u00be\u00bf\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\u00db\u00dc\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe".split(""),
b=0;b<d.length;b++)a+='<option value="'+d[b]+'">'+d[b]+"</option>";return a}()+'</select></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_1_txt"><b style="color:red;">Veuillez saisir le nom de la cat\u00e9gorie!</b></p></td></tr></table><br></div><div class="optCategorie" id="m_2" style="display:none;"><table><h3>Modifier la cat\u00e9gorie de stickers</h3><tr><td style="text-align: left;padding-left:10%;"><label>Pr\u00e9visualisations</label></td><td style="text-align:center;" id="m_2_imgs"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_2_urls">Adresses des stickers</label></td><td style="text-align: center;"><textarea rows="5" cols="45" id="m_2_urls" placeholder="https://image.noelshack.com/fichiers/example1.png https://image.noelshack.com/fichiers/example2.gif http://image.noelshack.com/fichiers/example3.png http://jv.stkr.fr/p/exemple?f-ed=1" style="text-align:center;border:1px solid red;"></textarea></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_2_cat">Cat\u00e9gorie</label></td><td style="text-align: center;"><select id="m_2_cat" style="width:50%">'+
c(!1)+'</select></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_2_txt"><b style="color:red;">Veuillez saisir l\'adresse d\'au moins un sticker!</b></p></td></tr></table><br></div><div class="optCategorie" id="m_3" style="display:none;"><table><h3>Modifier les tags d\'un sticker</h3><tr><td style="text-align: left;padding-left:10%;"><label>Pr\u00e9visualisation</label></td><td style="text-align:center;" id="m_3_img"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_3_url">Adresse du sticker</label></td><td style="text-align: center;"><input type="url" id="m_3_url" style="text-align:center;border:1px solid red;" placeholder="http://image.noelshack.com/fichiers/exemple.png" size="50"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_3_tags">Tags</label></td><td style="text-align: center;"><textarea rows="5" cols="45" id="m_3_tags" style="text-align:center;border:1px solid red;" placeholder="Indiquez d\'abord l\'adresse du sticker" disabled></textarea></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_3_txt"><b style="color:red;">Veuillez saisir l\'adresse d\'un sticker!</b></p></td></tr></table><br></div><div class="optCategorie" id="m_4" style="display:none;"><table><h3>Modifier les sons d\'un sticker</h3><tr><td style="text-align: left;padding-left:10%;"><label>Pr\u00e9visualisation</label></td><td style="text-align:center;" id="m_4_img"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_4_url">Adresse du sticker</label></td><td style="text-align: center;"><input type="url" id="m_4_url" style="text-align:center;border:1px solid red;" placeholder="http://image.noelshack.com/fichiers/exemple.png" size="50"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_4_sons">Adresses des sons</label></td><td style="text-align: center;"><textarea rows="5" cols="45" placeholder="Indiquez d\'abord l\'adresse du sticker" id="m_4_sons" style="text-align:center;border:1px solid red;" disabled></textarea></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_4_txt"><b style="color:red;">Veuillez saisir l\'adresse d\'un sticker!</b></p></td></tr></table><br></div><div class="optCategorie" id="m_5" style="display:none;"><table><h3>Modifier les sons d\'un groupe de stickers</h3><tr><td style="text-align: left;padding-left:10%;"><label>Pr\u00e9visualisations</label></td><td style="text-align:center;" id="m_5_imgs"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_5_url">Adresse d\'un sticker du groupe</label></td><td style="text-align: center;"><input type="url" id="m_5_url" style="text-align:center;border:1px solid red;" placeholder="http://image.noelshack.com/fichiers/exemple.png" size="50"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_5_sons">Adresses des sons du groupe</label></td><td style="text-align: center;"><textarea rows="5" cols="45" placeholder="Indiquez d\'abord l\'adresse d\'un sticker du groupe" id="m_5_sons" style="text-align:center;border:1px solid red;" disabled></textarea></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_5_txt"><b style="color:red;">Veuillez saisir l\'adresse d\'un sticker d\'un groupe!</b></p></td></tr></table><br></div><div class="optCategorie" id="m_6" style="display:none;"><table><h3>Signaler un lien mort</h3><tr><td style="text-align: left;padding-left:10%;"><label>Pr\u00e9visualisation</label></td><td style="text-align:center;" id="m_6_img"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_6_url">Adresse du sticker</label></td><td style="text-align: center;"><input type="url" id="m_6_url" style="text-align:center;border:1px solid red;" placeholder="http://image.noelshack.com/fichiers/exemple.png" size="50"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label>Cat\u00e9gorie</label></td><td style="text-align: center;max-width:40ch;"><p id="m_6_cat"></p></td></tr><tr><td style="text-align: left;padding-left:10%;"><label>Tags</label></td><td style="text-align: center;max-width:40ch;"><p id="m_6_tags"></p></td></tr><tr><td style="text-align: left;padding-left:10%;"><label>Adresses des sons</label></td><td style="text-align: center;max-width:40ch;"><p id="m_6_sons"></p></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_6_newurl">Adresse de remplacement</label></td><td style="text-align: center;"><input type="url" id="m_6_newurl" style="text-align:center;" placeholder="http://image.noelshack.com/fichiers/exemple.png" size="50"></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_6_txt"><b style="color:red;">Veuillez saisir l\'adresse d\'un sticker!</b></p></td></tr></table><br></div><div class="optCategorie" id="m_7" style="display:none;"><table><h3>Signaler un doublon</h3><tr><td style="text-align: left;padding-left:10%;"><label>Pr\u00e9visualisation</label></td><td style="text-align:center;" id="m_7_img"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_7_url">Adresse originale du sticker</label></td><td style="text-align: center;"><input type="url" id="m_7_url" style="text-align:center;border:1px solid red;" placeholder="http://image.noelshack.com/fichiers/exemple.png" size="50"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_7_newurl">Adresse du doublon</label></td><td style="text-align: center;"><input type="url" id="m_7_newurl" style="text-align:center;border:1px solid red;" placeholder="http://image.noelshack.com/fichiers/exemple.png" size="50"></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_7_txt"><b style="color:red;">Veuillez saisir l\'adresse d\'un sticker!</b></p></td></tr></table><br></div><div class="optCategorie" id="m_8" style="display:none;"><table><h3>Supprimer un sticker</h3><tr><td style="text-align: left;padding-left:10%;"><label>Pr\u00e9visualisation</label></td><td style="text-align:center;" id="m_8_img"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_8_url">Adresse du sticker</label></td><td style="text-align: center;"><input type="url" id="m_8_url" style="text-align:center;border:1px solid red;" placeholder="http://image.noelshack.com/fichiers/exemple.png" size="50"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="m_8_motif">Motif de suppression</label></td><td style="text-align:center;"><select id="m_8_motif"><option value="Droits d\'auteur">Non respect des droits d\'auteur</option><option value="Vie priv\u00e9e">Non respect de la vie priv\u00e9e</option><option value="Offensant">Sticker offensant</option><option value="Incitation \u00e0 la haine">Sticker incitant \u00e0 la haine</option><option value="Pornographie">Sticker pornographique</option><option value="Mauvaise qualit\u00e9">Sticker de mauvaise qualit\u00e9</option><option value="Inutile">Sticker inutile</option><option value="Autre motif" selected>Autre motif</option></select></td></tr><tr><td colspan="2" style="text-align: center;"><p id="m_8_txt"><b style="color:red;">Veuillez saisir l\'adresse d\'un sticker!</b></p></td></tr></table><br></div></div><div class="modal-footer" style="text-align: center;"><button type="button" class="btn btn-default" data-dismiss="modal" id="envoyerReq" disabled>Envoyer</button> <a rel="modal:close" id="annulerReqBtn"><button type="button" class="btn btn-default" data-dismiss="modal" id="annuler">Annuler</button></a></div></div><p style="display:none;"><a href="#reqModal" id="toReqModal" rel="modal:open">Open Modal</a></p>';
document.body.appendChild(u);var B=[],A=[],v=[],T=[],F=[];document.getElementById("m_0_urls").addEventListener("input",function(){v=[];T=[];var a=document.getElementById("m_0_imgs");a.firstChild&&a.removeChild(a.firstChild);for(var d=document.getElementById("m_0_urls").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").split(" "),b=d.indexOf("");-1!=b;)d.splice(b,1),b=d.indexOf("");B=l(d);for(d=0;d<B.length;d++)(B[d].startsWith("http://")||B[d].startsWith("https://"))&&B[d].includes("image.noelshack.com")&&
(B[d].endsWith(".png")||B[d].endsWith(".gif")||B[d].endsWith(".jpg")||B[d].endsWith(".jpeg"))||B[d].startsWith("http://jv.stkr.fr/p/")&&B[d].endsWith("?f-ed=1")||(v.push(B[d]),B.splice(d,1),d--);for(d=0;d<B.length;d++)for(b=0;b<f.length;b++)if(-1!=f[b].map(function(a){return a.url}).indexOf(B[d])){T.push(B[d]);B.splice(d,1);d--;break}for(var d=document.createElement("div"),b="",c=0;c<B.length;c++)b=B[c].startsWith("http://jv.stkr.fr/p/")?b+('<img height="48" width="48" src="'+B[c]+'"/>'):b+('<img height="48" width="64" src="'+
B[c]+'"/>'),0==(c+1)%5&&c+1!=B.length&&(b+="</br>");d.innerHTML=b;a.appendChild(d);e()});document.getElementById("m_0_tags").addEventListener("input",function(){e()});document.getElementById("m_0_sons").addEventListener("input",function(){F=[];for(var a=document.getElementById("m_0_sons").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").split(" "),d=a.indexOf("");-1!=d;)a.splice(d,1),d=a.indexOf("");A=l(a);for(a=0;a<A.length;a++)A[a].startsWith("http://")||A[a].startsWith("https://")||
(F.push(A[a]),A.splice(a,1),a--);e()});var J=!1;document.getElementById("m_1_name").addEventListener("input",function(){J="";for(var a=document.getElementById("m_1_name").value.latinize().toLowerCase().replace(/ /g,""),d=0;d<y.length;d++)a==y[d].latinize().toLowerCase().replace(/ /g,"")&&(J=y[d]);b()});var r=[],U=[],S=[],O=[];document.getElementById("m_2_urls").addEventListener("input",function(){r=[];U=[];S=[];O=[];var b=document.getElementById("m_2_imgs");b.firstChild&&b.removeChild(b.firstChild);
for(var d=document.getElementById("m_2_urls").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").split(" "),c=d.indexOf("");-1!=c;)d.splice(c,1),c=d.indexOf("");r=l(d);for(d=0;d<r.length;d++)if((r[d].startsWith("http://")||r[d].startsWith("https://"))&&r[d].includes("image.noelshack.com")&&(r[d].endsWith(".png")||r[d].endsWith(".gif")||r[d].endsWith(".jpg")||r[d].endsWith(".jpeg"))||r[d].startsWith("http://jv.stkr.fr/p/")&&r[d].endsWith("?f-ed=1")){for(var c=!1,g=0;g<f.length;g++)if(-1!=
f[g].map(function(a){return a.url}).indexOf(r[d])){console.log(k[g]);k[g]==document.getElementById("m_2_cat").options[document.getElementById("m_2_cat").selectedIndex].value&&(O.push(r[d]),r.splice(d,1),d--);c=!0;break}c||(S.push(r[d]),r.splice(d,1),d--)}else U.push(r[d]),r.splice(d,1),d--;d=document.createElement("div");c="";for(g=0;g<r.length;g++)c=r[g].startsWith("http://jv.stkr.fr/p/")?c+('<img height="48" width="48" src="'+r[g]+'"/>'):c+('<img height="48" width="64" src="'+r[g]+'"/>'),0==(g+
1)%5&&g+1!=r.length&&(c+="</br>");d.innerHTML=c;b.appendChild(d);a()});document.getElementById("m_2_cat").addEventListener("change",function(){r=[];U=[];S=[];O=[];var b=document.getElementById("m_2_imgs");b.firstChild&&b.removeChild(b.firstChild);for(var d=document.getElementById("m_2_urls").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").split(" "),c=d.indexOf("");-1!=c;)d.splice(c,1),c=d.indexOf("");r=l(d);for(d=0;d<r.length;d++)if((r[d].startsWith("http://")||r[d].startsWith("https://"))&&
r[d].includes("image.noelshack.com")&&(r[d].endsWith(".png")||r[d].endsWith(".gif")||r[d].endsWith(".jpg")||r[d].endsWith(".jpeg"))||r[d].startsWith("http://jv.stkr.fr/p/")&&r[d].endsWith("?f-ed=1")){for(var c=!1,g=0;g<f.length;g++)if(-1!=f[g].map(function(a){return a.url}).indexOf(r[d])){console.log(k[g]);k[g]==document.getElementById("m_2_cat").options[document.getElementById("m_2_cat").selectedIndex].value&&(O.push(r[d]),r.splice(d,1),d--);c=!0;break}c||(S.push(r[d]),r.splice(d,1),d--)}else U.push(r[d]),
r.splice(d,1),d--;d=document.createElement("div");c="";for(g=0;g<r.length;g++)c=r[g].startsWith("http://jv.stkr.fr/p/")?c+('<img height="48" width="48" src="'+r[g]+'"/>'):c+('<img height="48" width="64" src="'+r[g]+'"/>'),0==(g+1)%5&&g+1!=r.length&&(c+="</br>");d.innerHTML=c;b.appendChild(d);a()});var N=!1,K=!1,D=[],G=[];document.getElementById("m_3_url").addEventListener("input",function(){K=N=!1;document.getElementById("m_3_tags").disabled=!0;document.getElementById("m_3_tags").placeholder="Indiquez d'abord l'adresse du sticker";
var a=document.getElementById("m_3_url").value,d=document.getElementById("m_3_img");d.firstChild&&d.removeChild(d.firstChild);var b=document.createElement("div");if((a.startsWith("http://")||a.startsWith("https://"))&&a.includes("image.noelshack.com")&&(a.endsWith(".png")||a.endsWith(".gif")||a.endsWith(".jpg")||a.endsWith(".jpeg"))||a.startsWith("http://jv.stkr.fr/p/")&&a.endsWith("?f-ed=1")){N=!0;for(var c=0;c<f.length;c++){var g=f[c].map(function(a){return a.url}).indexOf(a);if(-1!=g){a.startsWith("http://jv.stkr.fr/p/")?
b.innerHTML='<img height="96" width="96" src="'+a+'"/>':b.innerHTML='<img height="96" width="128" src="'+a+'"/>';G=f[c][g].tags;D=f[c][g].tags;0<G.length?document.getElementById("m_3_tags").value=G.join(" "):(G=[],D=[],document.getElementById("m_3_tags").value="");document.getElementById("m_3_tags").disabled=!1;document.getElementById("m_3_tags").placeholder="tag1 tag2 tag3";K=!0;break}}K||(G=[],document.getElementById("m_3_tags").value="")}else G=[],document.getElementById("m_3_tags").value="";d.appendChild(b);
m()});document.getElementById("m_3_tags").addEventListener("input",function(){D=document.getElementById("m_3_tags").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").latinize().toLowerCase().split(" ");for(var a=D.indexOf("");-1!=a;)D.splice(a,1),a=D.indexOf("");D=l(D);m()});var L=!1,M=!1,I=[],P=[],Y=[];document.getElementById("m_4_url").addEventListener("input",function(){M=L=!1;document.getElementById("m_4_sons").disabled=!0;document.getElementById("m_4_sons").placeholder="Indiquez d'abord l'adresse du sticker";
var a=document.getElementById("m_4_url").value,d=document.getElementById("m_4_img");d.firstChild&&d.removeChild(d.firstChild);var b=document.createElement("div");if((a.startsWith("http://")||a.startsWith("https://"))&&a.includes("image.noelshack.com")&&(a.endsWith(".png")||a.endsWith(".gif")||a.endsWith(".jpg")||a.endsWith(".jpeg"))||a.startsWith("http://jv.stkr.fr/p/")&&a.endsWith("?f-ed=1")){L=!0;for(var c=document.getElementById("m_4_sons").value,g=0;g<f.length;g++){var e=f[g].map(function(a){return a.url}).indexOf(a);
if(-1!=e){a.startsWith("http://jv.stkr.fr/p/")?b.innerHTML='<img height="96" width="96" src="'+a+'"/>':b.innerHTML='<img height="96" width="128" src="'+a+'"/>';I=f[g][e].sounds;P=f[g][e].sounds;0<I.length?document.getElementById("m_4_sons").value=I.join(" "):(I=[],P=[],document.getElementById("m_4_sons").value="");document.getElementById("m_4_sons").disabled=!1;document.getElementById("m_4_sons").placeholder="http://* https://*";M=!0;break}}M||(I=[],document.getElementById("m_4_sons").value="")}else I=
[],document.getElementById("m_4_sons").value="";d.appendChild(b);if(c!=document.getElementById("m_4_sons").value){Y=[];a=document.getElementById("m_4_sons").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").split(" ");for(e=a.indexOf("");-1!=e;)a.splice(e,1),e=a.indexOf("");P=l(a);for(e=0;e<P.length;e++)P[e].startsWith("http://")||P[e].startsWith("https://")||(Y.push(P[e]),P.splice(e,1),e--)}h()});document.getElementById("m_4_sons").addEventListener("input",function(){Y=[];for(var a=document.getElementById("m_4_sons").value.replace(/\n/g,
" ").replace(/,/g," ").replace(/;/g," ").split(" "),d=a.indexOf("");-1!=d;)a.splice(d,1),d=a.indexOf("");P=l(a);for(a=0;a<P.length;a++)P[a].startsWith("http://")||P[a].startsWith("https://")||(Y.push(P[a]),P.splice(a,1),a--);h()});var W=!1,la=!1,ba=[],Q=[],Z=[];document.getElementById("m_5_url").addEventListener("input",function(){la=W=!1;var a=document.getElementById("m_5_sons").value;document.getElementById("m_5_sons").disabled=!0;document.getElementById("m_5_sons").placeholder="Indiquez d'abord l'adresse d'un sticker du groupe";
var d=document.getElementById("m_5_url").value,b=document.getElementById("m_5_imgs");b.firstChild&&b.removeChild(b.firstChild);var c=document.createElement("div");if((d.startsWith("http://")||d.startsWith("https://"))&&d.includes("image.noelshack.com")&&(d.endsWith(".png")||d.endsWith(".gif")||d.endsWith(".jpg")||d.endsWith(".jpeg"))||d.startsWith("http://jv.stkr.fr/p/")&&d.endsWith("?f-ed=1")){W=!0;for(var g=0;g<f.length;g++){var e=f[g].map(function(a){return a.url}).indexOf(d);if(-1!=e){if(0<f[g][e].sounds.length){d.startsWith("http://jv.stkr.fr/p/")?
c.innerHTML='<img height="96" width="96" src="'+d+'"/>':c.innerHTML='<img height="96" width="128" src="'+d+'"/>';ba=f[g][e].sounds;Q=f[g][e].sounds;0<ba.length?document.getElementById("m_5_sons").value=ba.join(" "):(ba=[],Q=[],document.getElementById("m_5_sons").value="");document.getElementById("m_5_sons").disabled=!1;document.getElementById("m_5_sons").placeholder="http://* https://*";for(var h=[],e=0;e<f.length;e++)f[e].reduce(function(a,b){0<b.sounds.length&&b.url!=d&&JSON.stringify(b.sounds.sort())==
JSON.stringify(ba.sort())&&h.push(b.url)},0);if(0<h.length){c.innerHTML+="</br>";e=h.length;15<e&&(e=10);for(var g=[],m=0;m<e;m++){for(var k=Math.floor(Math.random()*h.length+1)-1;-1!=g.indexOf(k);)k=Math.floor(Math.random()*h.length+1)-1;h[k].startsWith("http://jv.stkr.fr/p/")?c.innerHTML+='<img height="48" width="48" src="'+h[k]+'"/>':c.innerHTML+='<img height="48" width="64" src="'+h[k]+'"/>';0==(m+1)%5&&m+1!=e&&(c.innerHTML+="</br>")}0<h.length-e&&(c.innerHTML+="</br> et "+(h.length-e)+" autres stickers")}}la=
!0;break}}la||(ba=[],document.getElementById("m_5_sons").value="")}else ba=[],document.getElementById("m_5_sons").value="";b.appendChild(c);if(a!=document.getElementById("m_5_sons").value){Z=[];a=document.getElementById("m_5_sons").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").split(" ");for(e=a.indexOf("");-1!=e;)a.splice(e,1),e=a.indexOf("");Q=l(a);for(a=0;a<Q.length;a++)Q[a].startsWith("http://")||Q[a].startsWith("https://")||(Z.push(Q[a]),Q.splice(a,1),a--)}t()});document.getElementById("m_5_sons").addEventListener("input",
function(){Z=[];for(var a=document.getElementById("m_5_sons").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").split(" "),b=a.indexOf("");-1!=b;)a.splice(b,1),b=a.indexOf("");Q=l(a);for(a=0;a<Q.length;a++)Q[a].startsWith("http://")||Q[a].startsWith("https://")||(Z.push(Q[a]),Q.splice(a,1),a--);t()});var pa=!1,ma=!1,fa=!1,ga=!1;document.getElementById("m_6_url").addEventListener("input",function(){ma=pa=!1;var a=document.getElementById("m_6_url").value,b=document.getElementById("m_6_img");
b.firstChild&&b.removeChild(b.firstChild);var c=document.createElement("div");if((a.startsWith("http://")||a.startsWith("https://"))&&a.includes("image.noelshack.com")&&(a.endsWith(".png")||a.endsWith(".gif")||a.endsWith(".jpg")||a.endsWith(".jpeg"))||a.startsWith("http://jv.stkr.fr/p/")&&a.endsWith("?f-ed=1")){pa=!0;for(var e=0;e<f.length;e++){var h=f[e].map(function(a){return a.url}).indexOf(a);if(-1!=h){var m=document.getElementById("m_6_newurl").value;a.startsWith("http://jv.stkr.fr/p/")?c.innerHTML=
'<img height="96" width="96" src="'+a+'"/>':c.innerHTML='<img height="96" width="128" src="'+a+'"/>';fa&&!ga&&(m.startsWith("http://jv.stkr.fr/p/")?c.innerHTML+='<img height="96" width="96" src="https://image.noelshack.com/fichiers/2017/21/1495640890-fl.png"/><img height="96" width="96" src="'+m+'"/>':c.innerHTML+='<img height="96" width="96" src="https://image.noelshack.com/fichiers/2017/21/1495640890-fl.png"/><img height="96" width="128" src="'+m+'"/>');a=f[e][h].tags;h=f[e][h].sounds;document.getElementById("m_6_cat").innerHTML=
y[e];0<a.length?document.getElementById("m_6_tags").innerHTML=a.join(", "):document.getElementById("m_6_tags").innerHTML="";0<h.length?document.getElementById("m_6_sons").innerHTML=h.join(", "):document.getElementById("m_6_sons").innerHTML="";ma=!0;break}}ma||(document.getElementById("m_6_cat").innerHTML="",document.getElementById("m_6_tags").innerHTML="",document.getElementById("m_6_sons").innerHTML="")}else document.getElementById("m_6_cat").innerHTML="",document.getElementById("m_6_tags").innerHTML=
"",document.getElementById("m_6_sons").innerHTML="";b.appendChild(c);g()});document.getElementById("m_6_newurl").addEventListener("input",function(){ga=fa=!1;var a=document.getElementById("m_6_newurl").value,b=document.getElementById("m_6_img");b.firstChild&&b.removeChild(b.firstChild);var c=document.createElement("div");if((a.startsWith("http://")||a.startsWith("https://"))&&a.includes("image.noelshack.com")&&(a.endsWith(".png")||a.endsWith(".gif")||a.endsWith(".jpg")||a.endsWith(".jpeg"))||a.startsWith("http://jv.stkr.fr/p/")&&
a.endsWith("?f-ed=1")){fa=!0;for(var e=0;e<f.length;e++)if(-1!=f[e].map(function(a){return a.url}).indexOf(a)){ga=!0;break}}pa&&ma&&(e=document.getElementById("m_6_url").value,e.startsWith("http://jv.stkr.fr/p/")?c.innerHTML='<img height="96" width="96" src="'+e+'"/>':c.innerHTML='<img height="96" width="128" src="'+e+'"/>',fa&&!ga&&(a.startsWith("http://jv.stkr.fr/p/")?c.innerHTML+='<img height="96" width="96" src="https://image.noelshack.com/fichiers/2017/21/1495640890-fl.png"/><img height="96" width="96" src="'+
a+'"/>':c.innerHTML+='<img height="96" width="96" src="https://image.noelshack.com/fichiers/2017/21/1495640890-fl.png"/><img height="96" width="128" src="'+a+'"/>'));b.appendChild(c);g()});var qa=!1,ra=!1,na=!1,oa=!1;document.getElementById("m_7_url").addEventListener("input",function(){ra=qa=!1;var a=document.getElementById("m_7_url").value,b=document.getElementById("m_7_img");b.firstChild&&b.removeChild(b.firstChild);var c=document.createElement("div");if((a.startsWith("http://")||a.startsWith("https://"))&&
a.includes("image.noelshack.com")&&(a.endsWith(".png")||a.endsWith(".gif")||a.endsWith(".jpg")||a.endsWith(".jpeg"))||a.startsWith("http://jv.stkr.fr/p/")&&a.endsWith("?f-ed=1")){qa=!0;for(var g=0;g<f.length;g++)if(-1!=f[g].map(function(a){return a.url}).indexOf(a)){g=document.getElementById("m_7_newurl").value;a.startsWith("http://jv.stkr.fr/p/")?c.innerHTML='<img height="96" width="96" src="'+a+'"/>':c.innerHTML='<img height="96" width="128" src="'+a+'"/>';na&&oa&&a!=g&&(g.startsWith("http://jv.stkr.fr/p/")?
c.innerHTML+='<img height="96" width="96" src="https://image.noelshack.com/fichiers/2017/21/1495700028-eq.png"/><img height="96" width="96" src="'+g+'"/>':c.innerHTML+='<img height="96" width="96" src="https://image.noelshack.com/fichiers/2017/21/1495700028-eq.png"/><img height="96" width="128" src="'+g+'"/>');ra=!0;break}}b.appendChild(c);p()});document.getElementById("m_7_newurl").addEventListener("input",function(){oa=na=!1;var a=document.getElementById("m_7_newurl").value,b=document.getElementById("m_7_img");
b.firstChild&&b.removeChild(b.firstChild);var c=document.createElement("div");if((a.startsWith("http://")||a.startsWith("https://"))&&a.includes("image.noelshack.com")&&(a.endsWith(".png")||a.endsWith(".gif")||a.endsWith(".jpg")||a.endsWith(".jpeg"))||a.startsWith("http://jv.stkr.fr/p/")&&a.endsWith("?f-ed=1")){na=!0;for(var g=0;g<f.length;g++)if(-1!=f[g].map(function(a){return a.url}).indexOf(a)){oa=!0;break}}qa&&ra&&(g=document.getElementById("m_7_url").value,g.startsWith("http://jv.stkr.fr/p/")?
c.innerHTML='<img height="96" width="96" src="'+g+'"/>':c.innerHTML='<img height="96" width="128" src="'+g+'"/>',na&&oa&&g!=a&&(a.startsWith("http://jv.stkr.fr/p/")?c.innerHTML+='<img height="96" width="96" src="https://image.noelshack.com/fichiers/2017/21/1495700028-eq.png"/><img height="96" width="96" src="'+a+'"/>':c.innerHTML+='<img height="96" width="96" src="https://image.noelshack.com/fichiers/2017/21/1495700028-eq.png"/><img height="96" width="128" src="'+a+'"/>'));b.appendChild(c);p()});
var sa=!1,ta=!1;document.getElementById("m_8_url").addEventListener("input",function(){ta=sa=!1;var a=document.getElementById("m_8_url").value,b=document.getElementById("m_8_img");b.firstChild&&b.removeChild(b.firstChild);var c=document.createElement("div");if((a.startsWith("http://")||a.startsWith("https://"))&&a.includes("image.noelshack.com")&&(a.endsWith(".png")||a.endsWith(".gif")||a.endsWith(".jpg")||a.endsWith(".jpeg"))||a.startsWith("http://jv.stkr.fr/p/")&&a.endsWith("?f-ed=1")){sa=!0;for(var g=
0;g<f.length;g++)if(-1!=f[g].map(function(a){return a.url}).indexOf(a)){a.startsWith("http://jv.stkr.fr/p/")?c.innerHTML='<img height="96" width="96" src="'+a+'"/>':c.innerHTML='<img height="96" width="128" src="'+a+'"/>';ta=!0;break}}b.appendChild(c);n()});document.getElementById("m_sel").addEventListener("change",function(){var c=document.getElementById("m_sel").selectedIndex;document.getElementById("m_0").setAttribute("style","display:none;");document.getElementById("m_1").setAttribute("style",
"display:none;");document.getElementById("m_2").setAttribute("style","display:none;");document.getElementById("m_3").setAttribute("style","display:none;");document.getElementById("m_4").setAttribute("style","display:none;");document.getElementById("m_5").setAttribute("style","display:none;");document.getElementById("m_6").setAttribute("style","display:none;");document.getElementById("m_7").setAttribute("style","display:none;");document.getElementById("m_8").setAttribute("style","display:none;");0==
c?(e(),document.getElementById("m_0").removeAttribute("style")):1==c?(b(),document.getElementById("m_1").removeAttribute("style")):2==c?(a(),document.getElementById("m_2").removeAttribute("style")):3==c?(m(),document.getElementById("m_3").removeAttribute("style")):4==c?(h(),document.getElementById("m_4").removeAttribute("style")):5==c?(t(),document.getElementById("m_5").removeAttribute("style")):6==c?(g(),document.getElementById("m_6").removeAttribute("style")):7==c?(p(),document.getElementById("m_7").removeAttribute("style")):
8==c&&(n(),document.getElementById("m_8").removeAttribute("style"))});var ca=!0;document.getElementById("envoyerReq").addEventListener("click",function(){if(!document.getElementById("envoyerReq").disabled&&ca){ca=!1;var a=document.getElementById("m_sel").selectedIndex;if(0==a){for(var b=document.getElementById("m_0_cat"),c=document.getElementById("m_0_tags").value.replace(/\n/g," ").replace(/,/g," ").replace(/;/g," ").latinize().toLowerCase().split(" "),a=c.indexOf("");-1!=a;)c.splice(a,1),a=c.indexOf("");
for(var c=l(c),a=B.slice(0),b=b.options[b.selectedIndex].value,g=c.join(" "),c=A.join(" "),e=0;e<a.length;e++)GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_stickers.php",data:"url="+a[e]+"&categorie="+b+"&tags="+g+"&sounds="+c,headers:{"Content-Type":"application/x-www-form-urlencoded"},onload:function(a){document.getElementById("annuler").click();document.getElementById("envoyerReq").disabled=!0;B=[];A=[];v=[];T=[];F=[];a=document.getElementById("m_0_imgs");a.firstChild&&
a.removeChild(a.firstChild);var b=document.createElement("div");a.appendChild(b);document.getElementById("m_0_urls").value="";document.getElementById("m_0_urls").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_0_cat").selectedIndex=document.getElementById("m_0_cat").options.length-1;document.getElementById("m_0_tags").value="";document.getElementById("m_0_tags").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_0_sons").value=
"";document.getElementById("m_0_txt").parentElement.parentElement.removeAttribute("style");document.getElementById("m_0_txt").innerHTML="<div style='color:red;'><b>Veuillez saisir au moins une adresse!</b></div>"}});setTimeout(function(){ca=!0},1E3)}else if(1==a)a=document.getElementById("m_1_name").value,c=document.getElementById("m_1_icone").options[document.getElementById("m_1_icone").selectedIndex].value,GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_categories.php",data:"name="+
a+"&icon="+c,headers:{"Content-Type":"application/x-www-form-urlencoded"},onload:function(a){document.getElementById("annuler").click();document.getElementById("envoyerReq").disabled=!0;J=!1;document.getElementById("m_1_name").value="";document.getElementById("m_1_name").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_1_icone").selectedIndex=0;document.getElementById("m_1_txt").parentElement.parentElement.removeAttribute("style");document.getElementById("m_1_txt").innerHTML=
"<div style='color:red;'><b>Veuillez saisir le nom de la cat\u00e9gorie</b></div>"}}),setTimeout(function(){ca=!0},1E3);else if(2==a){c=document.getElementById("m_2_cat");a=r.slice(0);b=c.options[c.selectedIndex].value;for(e=0;e<a.length;e++)GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_categorie.php",data:"url="+a[e]+"&categorie="+b,headers:{"Content-Type":"application/x-www-form-urlencoded"},onload:function(a){document.getElementById("annuler").click();document.getElementById("envoyerReq").disabled=
!0;r=[];U=[];S=[];O=[];a=document.getElementById("m_2_imgs");a.firstChild&&a.removeChild(a.firstChild);var b=document.createElement("div");a.appendChild(b);document.getElementById("m_2_urls").value="";document.getElementById("m_2_urls").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_2_cat").selectedIndex=0;document.getElementById("m_2_txt").parentElement.parentElement.removeAttribute("style");document.getElementById("m_2_txt").innerHTML="<div style='color:red;'><b>Veuillez saisir l'adresse d'au moins un sticker!</b></div>"}});
setTimeout(function(){ca=!0},1E3)}else 3==a?(a=document.getElementById("m_3_url").value,g=D.join(" "),GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_tags.php",data:"url="+a+"&tags="+g,headers:{"Content-Type":"application/x-www-form-urlencoded"},onload:function(a){document.getElementById("annuler").click();document.getElementById("envoyerReq").disabled=!0;K=N=!1;D=[];G=[];a=document.getElementById("m_3_img");a.firstChild&&a.removeChild(a.firstChild);var b=document.createElement("div");
a.appendChild(b);document.getElementById("m_3_url").value="";document.getElementById("m_3_url").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_3_tags").value="";document.getElementById("m_3_tags").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_3_tags").placeholder="Indiquez d'abord l'adresse du sticker";document.getElementById("m_3_tags").disabled=!0;document.getElementById("m_3_txt").parentElement.parentElement.removeAttribute("style");
document.getElementById("m_3_txt").innerHTML="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"}}),setTimeout(function(){ca=!0},1E3)):4==a?(a=document.getElementById("m_4_url").value,b="",c=P.join(" "),GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_sounds.php",data:"url="+a+"&sounds="+c+"&reference_url="+b,headers:{"Content-Type":"application/x-www-form-urlencoded"},onload:function(a){document.getElementById("annuler").click();document.getElementById("envoyerReq").disabled=
!0;M=L=!1;I=[];P=[];Y=[];a=document.getElementById("m_4_img");a.firstChild&&a.removeChild(a.firstChild);var b=document.createElement("div");a.appendChild(b);document.getElementById("m_4_url").value="";document.getElementById("m_4_url").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_4_sons").value="";document.getElementById("m_4_sons").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_4_sons").placeholder="Indiquez d'abord l'adresse du sticker";
document.getElementById("m_4_sons").disabled=!0;document.getElementById("m_4_txt").parentElement.parentElement.removeAttribute("style");document.getElementById("m_4_txt").innerHTML="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"}}),setTimeout(function(){ca=!0},1E3)):5==a?(a="",b=document.getElementById("m_5_url").value,c=Q.join(" "),GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_sounds.php",data:"url="+a+"&reference_url="+b+"&sounds="+c,headers:{"Content-Type":"application/x-www-form-urlencoded"},
onload:function(a){document.getElementById("annuler").click();document.getElementById("envoyerReq").disabled=!0;la=W=!1;ba=[];Q=[];Z=[];a=document.getElementById("m_5_imgs");a.firstChild&&a.removeChild(a.firstChild);var b=document.createElement("div");a.appendChild(b);document.getElementById("m_5_url").value="";document.getElementById("m_5_url").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_5_sons").value="";document.getElementById("m_5_sons").setAttribute("style",
"text-align:center;border:1px solid red;");document.getElementById("m_5_sons").placeholder="Indiquez d'abord l'adresse d'un sticker du groupe";document.getElementById("m_5_sons").disabled=!0;document.getElementById("m_5_txt").parentElement.parentElement.removeAttribute("style");document.getElementById("m_5_txt").innerHTML="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker d'un groupe!</b></div>"}}),setTimeout(function(){ca=!0},1E3)):6==a?(a=document.getElementById("m_6_url").value,
c="Lien mort",b="",fa&&!ga&&(b=document.getElementById("m_6_newurl").value),GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_delete.php",data:"url="+a+"&reason="+c+"&new_url="+b,headers:{"Content-Type":"application/x-www-form-urlencoded"},onload:function(a){document.getElementById("annuler").click();document.getElementById("envoyerReq").disabled=!0;ga=fa=ma=pa=!1;a=document.getElementById("m_6_img");a.firstChild&&a.removeChild(a.firstChild);var b=document.createElement("div");
a.appendChild(b);document.getElementById("m_6_url").value="";document.getElementById("m_6_url").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_6_cat").innerHTML="";document.getElementById("m_6_tags").innerHTML="";document.getElementById("m_6_sons").innerHTML="";document.getElementById("m_6_newurl").value="";document.getElementById("m_6_newurl").setAttribute("style","text-align:center;");document.getElementById("m_6_txt").parentElement.parentElement.removeAttribute("style");
document.getElementById("m_6_txt").innerHTML="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"}}),setTimeout(function(){ca=!0},1E3)):7==a?(a=document.getElementById("m_7_url").value,c="Doublon",b=document.getElementById("m_7_newurl").value,GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_delete.php",data:"url="+a+"&reason="+c+"&new_url="+b,headers:{"Content-Type":"application/x-www-form-urlencoded"},onload:function(a){document.getElementById("annuler").click();
document.getElementById("envoyerReq").disabled=!0;oa=na=ra=qa=!1;a=document.getElementById("m_7_img");a.firstChild&&a.removeChild(a.firstChild);var b=document.createElement("div");a.appendChild(b);document.getElementById("m_7_url").value="";document.getElementById("m_7_url").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_7_newurl").value="";document.getElementById("m_7_newurl").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_7_txt").parentElement.parentElement.removeAttribute("style");
document.getElementById("m_7_txt").innerHTML="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"}}),setTimeout(function(){ca=!0},1E3)):8==a&&(a=document.getElementById("m_8_url").value,c=document.getElementById("m_8_motif").options[document.getElementById("m_8_motif").selectedIndex].value,GM_xmlhttpRequest({method:"POST",url:"http://jvcstckr.comli.com/req/req_delete.php",data:"url="+a+"&reason="+c+"&new_url=",headers:{"Content-Type":"application/x-www-form-urlencoded"},
onload:function(a){document.getElementById("annuler").click();document.getElementById("envoyerReq").disabled=!0;ta=sa=!1;a=document.getElementById("m_8_img");a.firstChild&&a.removeChild(a.firstChild);var b=document.createElement("div");a.appendChild(b);document.getElementById("m_8_url").value="";document.getElementById("m_8_url").setAttribute("style","text-align:center;border:1px solid red;");document.getElementById("m_8_motif").selectedIndex=document.getElementById("m_8_motif").options.length-1;
document.getElementById("m_8_txt").parentElement.parentElement.removeAttribute("style");document.getElementById("m_8_txt").innerHTML="<div style='color:red;'><b>Veuillez saisir l'adresse d'un sticker!</b></div>"}}),setTimeout(function(){ca=!0},1E3))}});var C=JSON.parse(GM_getValue("catToShow")),V=JSON.parse(GM_getValue("stickersBanListe")),xa=!1,u=document.createElement("div"),R;R=0<Sa(q,GM_info.script.version)?'<a href="https://ticki84.github.io/JVCSticker++.user.js" target="_blank">Une nouvelle version de JVCSticker++ est disponible!</a><br><br><p>Version actuelle: '+
GM_info.script.version+"</p><p>Derni\u00e8re version: "+q+"</p>":"<p>Vous poss\u00e9dez la derni\u00e8re version de JVCSticker++ ("+GM_info.script.version+")</p>";u.innerHTML=' <div id="optionsModal" style="display:none;"><div class="modal-header"><h2 class="modal-title" style="color:#d13321; text-align:center;"><u>Options de JVCSticker++</u></h2></div><div class="modal-body"><div style="text-align: center;"><br><br>'+R+'<br></div><div class="optCategorie"><table><h3>Pr\u00e9visualisation</h3><tr><td style="text-align: left;padding-left:10%;"><label for="homeCat">Cat\u00e9gorie d\'accueil</label></td><td style="text-align: center;"><select id="homeCat" style="width:60%"><option>Populaires</option><option>Mes Favoris</option></select></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="espacementStickers">Espacement des stickers de la pr\u00e9visualisation</label></td><td style="text-align: center;"><input type="number" id="espacementStickers" min="5" max="15" style="text-align:center;" value="'+
GM_getValue("espacementStickers")+'"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="tailleFenetre">Taille de la fen\u00eatre (en pixel)</label></td><td style="text-align: center;"><input type="number" id="tailleFenetre" min="75" max="450" style="text-align:center;" value="'+GM_getValue("tailleFenetre")+'"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="tailleStickers">Taille des stickers (en pixel)</label></td><td style="text-align: center;"><input type="number" id="tailleStickers" min="22" max="88" style="text-align:center;" value="'+
GM_getValue("tailleStickers")+'"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="xBarreHistorique">Nombre de ligne(s) d\'historique</label></td><td style="text-align: center;"><input type="number" id="xBarreHistorique" min="0" max="3" style="text-align:center;" value="'+GM_getValue("xBarreHistorique")+'"></td></tr></table><br></div><div class="optCategorie"><table><h3>Cat\u00e9gories</h3><tr><td style="text-align: left;padding-left:10%;"><select id="afficher" style="width:60%">'+
Va()+'</select></td><td style="text-align: center;"><button type="button" class="btn btn-default" id="afficherSel">Afficher la cat\u00e9gorie</button></td></tr><tr><td style="text-align: left;padding-left:10%;"><select id="cacher" style="width:60%">'+Ua()+'</select></td><td style="text-align: center;"><button type="button" class="btn btn-default" id="cacherSel">Cacher la cat\u00e9gorie</button></td></tr></table><br></div><div class="optCategorie"><table><h3>Options des stickers</h3><tr><td style="text-align: left;padding-left:10%;"><label for="tailleSticker">Taille des stickers (en %)</label></td><td style="text-align: center;"><input type="number" id="tailleSticker" min="50" max="300" style="text-align:center;" value="'+
GM_getValue("tailleSticker")+'"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="stickerCliquable">Stickers cliquables</label></td><td style="text-align: center;"><input type="checkbox" id="stickerCliquable"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="sons">Ajouter des sons aux stickers</label></td><td style="text-align: center;"><input type="checkbox" id="sons"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="intervalle">Intervalle de rechargement des stickers</label></td><td style="text-align: center;"><select id="intervalle" style="width:60%"><option>Toutes les 15 minutes</option><option>Toutes les 30 minutes</option><option>Toutes les heures</option><option>Toutes les 3 heures</option><option>Toutes les 6 heures</option><option>Toutes les 12 heures</option><option>Toutes les 24 heures</option></select></td></tr><tr><td colSpan=\'2\'><button type="button" class="btn btn-default" id="MAJManuelle">Recharger les stickers maintenant</button></td></tr></table><br></div><div class="optCategorie"><table><h3>Th\u00e8me g\u00e9n\u00e9ral</h3><tr><td style="text-align: left;padding-left:10%;"><label for="modifierCouleurPosts">Modifier la couleur des posts bleus</label></td><td style="text-align: center;"><input type="checkbox" id="modifierCouleurPosts"></td></tr><tr><td style="text-align: left;padding-left:12.5%;"><label for="couleurBackground">Couleur de fond</label></td><td style="text-align: center;"><input type="text" id="couleurBackground" style="text-align:center;" value="'+
GM_getValue("couleurBackground")+'"></td></tr><tr><td style="text-align: left;padding-left:12.5%;"><label for="couleurBordure">Couleur des bordures</label></td><td style="text-align: center;"><input type="text" id="couleurBordure" style="text-align:center;" value="'+GM_getValue("couleurBordure")+'"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="supprimerFond">Supprimer le fond blanc des images transparentes</label></td><td style="text-align: center;"><input type="checkbox" id="supprimerFond"></td></tr></table><br></div><div class="optCategorie"><table><h3>Bannissement de stickers</h3><tr><td style="text-align: left;padding-left:10%;"><label for="supprStickersBan">Supprimer les stickers bannis</label></td><td style="text-align: center;"><input type="checkbox" id="supprStickersBan"></td></tr><tr><td style="text-align: left;padding-left:12.5%;"><label for="stickerMessageDeSuppr">Afficher un message pour remplacer les stickers/posts bannis</label></td><td style="text-align: center;"><input type="checkbox" id="stickerMessageDeSuppr"></td></tr><tr><td style="text-align: left;padding-left:12.5%;"><label for="supprDesPosts">Supprimer les posts contenant un sticker banni</label></td><td style="text-align: center;"><input type="checkbox" id="supprDesPosts"></td></tr><tr><td style="text-align: left;padding-left:10%;"><input type="text" id="banStickerName" style="width: 60%"></td><td style="text-align: center;"><button type="button" class="btn btn-default" id="ajouterBan">Ajouter \u00e0 la liste des stickers bannis</button></td></tr><tr><td style="text-align: left;padding-left:10%;"><select id="listeBan" size="4" style="width:61%">'+
Ta()+'</select></td><td style="text-align: center;"><button type="button" class="btn btn-default" id="supprBan">Supprimer de la liste</button></td></tr></table><br></div><div class="optCategorie"><table><h3>Autres</h3><tr><td style="text-align: left;padding-left:10%;"><label for="webmPlayer">Lecture des webm</label></td><td style="text-align: center;"><input type="checkbox" id="webmPlayer"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="youtubePlayer">Lecture des vid\u00e9os Youtube</label></td><td style="text-align: center;"><input type="checkbox" id="youtubePlayer"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="vocarooPlayer">Lecture des Vocaroo</label></td><td style="text-align: center;"><input type="checkbox" id="vocarooPlayer"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="widthPlayer">Largeur des m\u00e9dias int\u00e9gr\u00e9s</label></td><td style="text-align: center;"><input type="number" id="widthPlayer" min="160" max="1280" style="text-align:center;" value="'+
GM_getValue("widthPlayer")+'"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="heightPlayer">Hauteur des m\u00e9dias int\u00e9gr\u00e9s</label></td><td style="text-align: center;"><input type="number" id="heightPlayer" min="120" max="960" style="text-align:center;" value="'+GM_getValue("heightPlayer")+'"></td></tr><tr><td style="text-align: left;padding-left:10%;"><label for="playerSignature">Jouer les m\u00e9dias des signatures</label></td><td style="text-align: center;"><input type="checkbox" id="playerSignature"></td></tr><tr><td colSpan=\'2\'><button type="button" class="btn btn-default" id="resetAll">R\u00e9initialiser toutes les options par d\u00e9faut</button></td></tr></table><br></div></div><div class="modal-footer" style="text-align: center;"><button type="button" class="btn btn-default" data-dismiss="modal" id="valider">Sauvegarder</button> <a rel="modal:close" id="annulerBtn"><button type="button" class="btn btn-default" data-dismiss="modal" id="annuler">Annuler</button></a></div></div><p style="display:none;"><a href="#optionsModal" id="toOptionsModal" rel="modal:open">Open Modal</a></p>';
document.body.appendChild(u);switch(Ma){case "15":document.getElementById("intervalle").selectedIndex="0";break;case "30":document.getElementById("intervalle").selectedIndex="1";break;case "60":document.getElementById("intervalle").selectedIndex="2";break;case "180":document.getElementById("intervalle").selectedIndex="3";break;case "360":document.getElementById("intervalle").selectedIndex="4";break;case "720":document.getElementById("intervalle").selectedIndex="5";break;case "1440":document.getElementById("intervalle").selectedIndex=
"6";break;default:document.getElementById("intervalle").selectedIndex="3"}switch(Fa){case "Populaires":document.getElementById("homeCat").selectedIndex="0";break;case "Mes Favoris":document.getElementById("homeCat").selectedIndex="1";break;default:document.getElementById("homeCat").selectedIndex="0"}u="stickerCliquable sons modifierCouleurPosts supprimerFond supprStickersBan stickerMessageDeSuppr supprDesPosts webmPlayer youtubePlayer vocarooPlayer playerSignature".split(" ");for(R=0;R<u.length;R++)!0===
GM_getValue(u[R])?document.getElementById(u[R]).setAttribute("checked","checked"):"checked"==document.getElementById(u[R]).checked&&document.getElementById(u[R]).removeAttribute("checked");document.getElementById("modifierCouleurPosts").addEventListener("click",function(){document.getElementById("modifierCouleurPosts").checked?(document.getElementById("couleurBackground").parentElement.parentElement.removeAttribute("style"),document.getElementById("couleurBordure").parentElement.parentElement.removeAttribute("style")):
(document.getElementById("couleurBackground").parentElement.parentElement.style.display="none",document.getElementById("couleurBordure").parentElement.parentElement.style.display="none")});document.getElementById("supprStickersBan").addEventListener("click",function(){document.getElementById("supprStickersBan").checked?(document.getElementById("stickerMessageDeSuppr").parentElement.parentElement.removeAttribute("style"),document.getElementById("supprDesPosts").parentElement.parentElement.removeAttribute("style")):
(document.getElementById("stickerMessageDeSuppr").parentElement.parentElement.style.display="none",document.getElementById("supprDesPosts").parentElement.parentElement.style.display="none")});document.getElementById("modifierCouleurPosts").checked||(document.getElementById("couleurBackground").parentElement.parentElement.style.display="none",document.getElementById("couleurBordure").parentElement.parentElement.style.display="none");document.getElementById("supprStickersBan").checked||(document.getElementById("stickerMessageDeSuppr").parentElement.parentElement.style.display=
"none",document.getElementById("supprDesPosts").parentElement.parentElement.style.display="none");document.getElementById("resetAll").addEventListener("click",function(){document.getElementById("espacementStickers").value="10";document.getElementById("tailleFenetre").value="150";document.getElementById("tailleStickers").value="44";document.getElementById("xBarreHistorique").value="1";C=JSON.parse(GM_getValue("catToShowS"));for(var a="",b=0;b<k.length;b++)-1==C.indexOf(k[b])&&(a+='<option id="'+k[b]+
'">'+y[b]+"</option>");document.getElementById("afficher").innerHTML=a;a="";for(b=0;b<C.length;b++)var c=k.indexOf(C[b]),a=a+('<option id="'+k[c]+'">'+y[c]+"</option>");document.getElementById("cacher").innerHTML=a;document.getElementById("tailleSticker").value="100";document.getElementById("stickerCliquable").checked=!0;document.getElementById("sons").checked=!0;document.getElementById("intervalle").selectedIndex="3";document.getElementById("homeCat").selectedIndex="0";xa=!1;document.getElementById("modifierCouleurPosts").checked=
!0;document.getElementById("couleurBackground").parentElement.parentElement.removeAttribute("style");document.getElementById("couleurBordure").parentElement.parentElement.removeAttribute("style");document.getElementById("couleurBackground").value="#FFF";document.getElementById("couleurBordure").value="#d5d5d5";document.getElementById("supprimerFond").checked=!0;document.getElementById("supprStickersBan").checked=!0;document.getElementById("stickerMessageDeSuppr").parentElement.parentElement.removeAttribute("style");
document.getElementById("supprDesPosts").parentElement.parentElement.removeAttribute("style");document.getElementById("stickerMessageDeSuppr").checked=!0;document.getElementById("supprDesPosts").checked=!1;document.getElementById("banStickerName").value="";V="http://jv.stkr.fr/p/1miq http://jv.stkr.fr/p/1min http://jv.stkr.fr/p/1mim http://jv.stkr.fr/p/1mig-fr http://jv.stkr.fr/p/1mij-fr http://jv.stkr.fr/p/1mio http://jv.stkr.fr/p/1mik http://jv.stkr.fr/p/1mip http://jv.stkr.fr/p/1mif http://jv.stkr.fr/p/1mii-fr http://jv.stkr.fr/p/1mih-fr http://jv.stkr.fr/p/1mil http://jv.stkr.fr/p/1mie-fr http://jv.stkr.fr/p/1mid-fr http://jv.stkr.fr/p/1myf http://jv.stkr.fr/p/1my7 http://jv.stkr.fr/p/1myc http://jv.stkr.fr/p/1my9 http://jv.stkr.fr/p/1myb http://jv.stkr.fr/p/1my6 http://jv.stkr.fr/p/1mye http://jv.stkr.fr/p/1myx http://jv.stkr.fr/p/1myd http://jv.stkr.fr/p/1my4 http://jv.stkr.fr/p/1my8 http://jv.stkr.fr/p/1mya http://jv.stkr.fr/p/1my5 http://jv.stkr.fr/p/1n28".split(" ");
a="";for(b=0;b<V.length;b++)a+="<option>"+V[b]+"</option>";document.getElementById("listeBan").innerHTML=a;document.getElementById("webmPlayer").checked=!0;document.getElementById("youtubePlayer").checked=!0;document.getElementById("vocarooPlayer").checked=!0;document.getElementById("widthPlayer").value="320";document.getElementById("heightPlayer").value="240";document.getElementById("playerSignature").checked=!1});document.getElementById("afficherSel").addEventListener("click",function(){var a=document.getElementById("afficher").selectedIndex;
if("undefined"!=typeof document.getElementById("afficher").options[a]){var b=y.indexOf(document.getElementById("afficher").options[a].text),c=k[b],g=!1;if(0===C.length)C.push(c),g=!0;else for(var e=0;e<b;e++)if(-1!=C.indexOf(k[b-e])){C.splice(C.indexOf(k[b-e])+1,0,c);g=!0;break}if(!g)for(e=0;e<k.length-b;e++)if(-1!=C.indexOf(k[b+e])){C.splice(C.indexOf(k[b+e]),0,c);break}g="";e=[];for(b=0;b<k.length;b++)-1==C.indexOf(k[b])&&(e.push(k[b]),g+='<option id="'+k[b]+'">'+y[b]+"</option>");document.getElementById("afficher").innerHTML=
g;void 0!==document.getElementById("afficher").options[a]?document.getElementById("afficher").selectedIndex=a:void 0!==document.getElementById("afficher").options[a-1]&&(document.getElementById("afficher").selectedIndex=a-1);a="";void 0!==document.getElementById("cacher").options[document.getElementById("cacher").selectedIndex]&&(c=k[y.indexOf(document.getElementById("cacher").options[document.getElementById("cacher").selectedIndex].text)]);for(b=0;b<C.length;b++)g=k.indexOf(C[b]),a+='<option id="'+
k[g]+'">'+y[g]+"</option>";document.getElementById("cacher").innerHTML=a;document.getElementById("cacher").selectedIndex=C.indexOf(c)}});document.getElementById("cacherSel").addEventListener("click",function(){var a=document.getElementById("cacher").selectedIndex;if("undefined"!=typeof document.getElementById("cacher").options[a]){var b=k[y.indexOf(document.getElementById("cacher").options[a].text)];C.splice(C.indexOf(b),1);var c=b;void 0!==document.getElementById("afficher").options[document.getElementById("afficher").selectedIndex]&&
(c=k[y.indexOf(document.getElementById("afficher").options[document.getElementById("afficher").selectedIndex].text)]);for(var g="",e=[],b=0;b<k.length;b++)-1==C.indexOf(k[b])&&(e.push(k[b]),g+='<option id="'+k[b]+'">'+y[b]+"</option>");document.getElementById("afficher").innerHTML=g;document.getElementById("afficher").selectedIndex=e.indexOf(c);c="";for(b=0;b<C.length;b++)g=k.indexOf(C[b]),c+='<option id="'+k[g]+'">'+y[g]+"</option>";document.getElementById("cacher").innerHTML=c;void 0!==document.getElementById("cacher").options[a]?
document.getElementById("cacher").selectedIndex=a:void 0!==document.getElementById("cacher").options[a-1]&&(document.getElementById("cacher").selectedIndex=a-1)}});document.getElementById("MAJManuelle").addEventListener("click",function(){xa=!0});document.getElementById("ajouterBan").addEventListener("click",function(){V.push(document.getElementById("banStickerName").value);for(var a="",b=0;b<V.length;b++)a+="<option>"+V[b]+"</option>";document.getElementById("listeBan").innerHTML=a;document.getElementById("listeBan").selectedIndex=
V.indexOf(document.getElementById("banStickerName").value);document.getElementById("banStickerName").value=""});document.getElementById("supprBan").addEventListener("click",function(){var a=document.getElementById("listeBan").selectedIndex;if(-1!=a){V.splice(a,1);for(var b="",c=0;c<V.length;c++)b+="<option>"+V[c]+"</option>";document.getElementById("listeBan").innerHTML=b;document.getElementById("listeBan").selectedIndex=a;-1==document.getElementById("listeBan").selectedIndex&&(document.getElementById("listeBan").selectedIndex=
a-1)}});$("#optionsModal").on("modal:close",function(){for(var a="espacementStickers tailleFenetre tailleStickers xBarreHistorique tailleSticker couleurBackground couleurBordure widthPlayer heightPlayer".split(" "),b=0;b<a.length;b++)document.getElementById(a[b]).value=GM_getValue(a[b]);a="stickerCliquable sons modifierCouleurPosts supprimerFond supprStickersBan stickerMessageDeSuppr supprDesPosts webmPlayer youtubePlayer vocarooPlayer playerSignature".split(" ");for(b=0;b<a.length;b++)document.getElementById(a[b]).checked=
GM_getValue(a[b]);document.getElementById("banStickerName").value="";C=JSON.parse(GM_getValue("catToShow"));a="";for(b=0;b<k.length;b++)-1==C.indexOf(k[b])&&(a+='<option id="'+k[b]+'">'+y[b]+"</option>");document.getElementById("afficher").innerHTML=a;a="";for(b=0;b<C.length;b++)var c=k.indexOf(C[b]),a=a+('<option id="'+k[c]+'">'+y[c]+"</option>");document.getElementById("cacher").innerHTML=a;V=JSON.parse(GM_getValue("stickersBanListe"));a="";for(b=0;b<V.length;b++)a+="<option>"+V[b]+"</option>";
switch(GM_getValue("intervalle")){case "15":document.getElementById("intervalle").selectedIndex="0";break;case "30":document.getElementById("intervalle").selectedIndex="1";break;case "60":document.getElementById("intervalle").selectedIndex="2";break;case "180":document.getElementById("intervalle").selectedIndex="3";break;case "360":document.getElementById("intervalle").selectedIndex="4";break;case "720":document.getElementById("intervalle").selectedIndex="5";break;case "1440":document.getElementById("intervalle").selectedIndex=
"6";break;default:document.getElementById("intervalle").selectedIndex="3"}switch(GM_getValue("homeCat")){case "Populaires":document.getElementById("homeCat").selectedIndex="0";break;case "Mes Favoris":document.getElementById("homeCat").selectedIndex="1";break;default:document.getElementById("homeCat").selectedIndex="0"}xa=!1;document.getElementById("listeBan").innerHTML=a});document.getElementById("valider").addEventListener("click",function(){for(var a="espacementStickers tailleFenetre tailleStickers xBarreHistorique tailleSticker couleurBackground couleurBordure widthPlayer heightPlayer".split(" "),
b=0;b<a.length;b++)GM_setValue(a[b],document.getElementById(a[b]).value);GM_setValue("catToShow",JSON.stringify(C));a="stickerCliquable sons modifierCouleurPosts supprimerFond supprStickersBan stickerMessageDeSuppr supprDesPosts webmPlayer youtubePlayer vocarooPlayer playerSignature".split(" ");for(b=0;b<a.length;b++)!0===document.getElementById(a[b]).checked||"checked"==document.getElementById(a[b]).checked?GM_setValue(a[b],!0):GM_setValue(a[b],!1);switch(document.getElementById("intervalle").selectedIndex){case 0:GM_setValue("intervalle",
"15");break;case 1:GM_setValue("intervalle","30");break;case 2:GM_setValue("intervalle","60");break;case 3:GM_setValue("intervalle","180");break;case 4:GM_setValue("intervalle","360");break;case 5:GM_setValue("intervalle","720");break;case 6:GM_setValue("intervalle","1440");break;default:GM_setValue("intervalle","180")}switch(document.getElementById("homeCat").selectedIndex){case 0:GM_setValue("homeCat","Populaires");break;case 1:GM_setValue("homeCat","Mes Favoris");break;default:GM_setValue("homeCat",
"Populaires")}xa&&GM_deleteValue("lTimestamp");GM_setValue("stickersBanListe",JSON.stringify(V));document.getElementById("annulerBtn").click()});u=document.querySelector('div[data-flg-tt="Bibliothèque"]').parentElement.parentElement;R=document.createElement("div");R.className="f-tabs-r";R.style.height="46px";R.innerHTML='<img src="http://image.noelshack.com/fichiers/2016/23/1465690515-refresh.png" height="23" width="25"/><img src="https://image.noelshack.com/fichiers/2017/20/1495391867-fazb.png" onclick="var win = window.open(\'https://www.facebook.com/JVCSticker/\', \'_blank\'); win.focus();" height="23" width="25"/><img src="http://image.noelshack.com/fichiers/2017/19/1494772404-to-do-list-ched2.png" height="23" width="25"/><img src="http://image.noelshack.com/fichiers/2016/24/1465930183-application-x-desktop.png" height="23" width="25"/></br><input id="g_search" type="search" placeholder="Rechercher..." style="width:100px;">';
u.insertBefore(R,u.secondChild);R.firstChild.addEventListener("click",function(){window.open("https://ticki84.github.io/JVCSticker++.user.js","_blank")});R.children[2].addEventListener("click",function(){document.getElementById("toReqModal").click()});R.children[3].addEventListener("click",function(){document.getElementById("toOptionsModal").click()});document.getElementById("g_search").addEventListener("input",function(){ja=ea=!1;da=!0;if(""!=document.getElementById("g_search").value){for(var a=
document.getElementById("g_search").value.replace(/,/g," ").replace(/;/g," ").latinize().toLowerCase().split(" "),b=a.indexOf("");-1!=b;)a.splice(b,1),b=a.indexOf("");for(var a=l(a),c=[],b=0;b<f.length;b++)f[b].reduce(function(b,g){if(0<g.tags.length){for(var d=g.tags,e=0,f=0;f<a.length;f++)for(var h=0;h<d.length;h++)0==a[f].levenstein(d[h].substr(0,a[f].length))&&(e+=1);c.push({url:g.url,occ:e})}},0);c.sort(function(a,b){return b.occ-a.occ});for(b=document.getElementsByClassName("f-stkrs f-cfx")[0];b.firstChild;)b.removeChild(b.firstChild);
for(var b=document.querySelector('div[data-flg-tt="Populaires"]'),g=b.parentElement.children.length,e=0;e<g;e++)if(-1!=b.parentElement.children[e].className.indexOf("f-active")){b.parentElement.children[e].className=b.parentElement.children[e].className.slice(0,-9);break}for(b=g=0;b<c.length;b++){if(0!=c[b].occ)g++;else break;if(24<g)break}for(b=0;b<g;b++)va(c[b].url);g=document.getElementsByClassName("f-stkrs f-cfx")[0].children;for(b=0;b<g.length;b++)g[b].firstChild.children[1].firstChild.click()}else aa(Fa)});
x.style.width=$(x.parentElement).outerWidth(!0)-$(x.parentElement).children().last().outerWidth(!0)+"px";w=Math.ceil((X.length+2)*w/($(x.parentElement).outerWidth(!0)-$(x.parentElement).children().last().outerWidth(!0)))*E;w<2*E&&(w=2*E);x.style.height=w+"px";E=document.getElementsByClassName("f-stkrs-w f-mid-fill-h")[0];E.style.height=ya+"px";E.parentElement.style.height=ya+"px";E.parentElement.parentElement.style.height=ya+"px";E=document.getElementsByClassName("picto-msg-crayon");if(0<E.length)for(w=
0;w<E.length;w++)E[w].addEventListener("click",function(){(new MutationObserver(function(a,b){document.querySelector('div[data-flg-tt="Hap"]')&&(b.disconnect(),wa())})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}),(new MutationObserver(function(a,b){var c=document.querySelector('button[data-edit="stickers"]');c&&(b.disconnect(),c.onclick=function(){Aa()})})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1}),(new MutationObserver(function(a,
b){var c=document.getElementsByClassName("btn-annuler-modif-msg");if(c){b.disconnect();for(var g=0;g<c.length;g++)c[g].addEventListener("click",function(){(new MutationObserver(function(a,b){var c=document.getElementById("message_topic");c&&(b.disconnect(),c.addEventListener("click",za()))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})})}})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1}),(new MutationObserver(function(a,b){var c=
document.getElementsByClassName("btn btn-editer-msg");if(c){b.disconnect();for(var g=0;g<c.length;g++)c[g].addEventListener("click",function(){(new MutationObserver(function(a,b){var c=document.getElementById("message_topic");c&&(b.disconnect(),c.addEventListener("click",za()))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})})}})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1});k=JSON.parse(GM_getValue("allCat"));y=JSON.parse(GM_getValue("catRealNames"));
ua=JSON.parse(GM_getValue("catIcons"));X=JSON.parse(GM_getValue("catToShow"));E=[];for(w=0;w<X.length;w++)E[w]=z(w);for(w=0;w<X.length;w++)E[w]()},100)}function Aa(){-1!=document.querySelector('button[data-edit="stickers"]').className.indexOf("active")&&(new MutationObserver(function(c,e){document.querySelector('div[data-flg-tt="Hap"]')&&(e.disconnect(),wa())})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}var Na;Na={"\u00c1":"A","\u0102":"A","\u1eae":"A","\u1eb6":"A",
"\u1eb0":"A","\u1eb2":"A","\u1eb4":"A","\u01cd":"A","\u00c2":"A","\u1ea4":"A","\u1eac":"A","\u1ea6":"A","\u1ea8":"A","\u1eaa":"A","\u00c4":"A","\u01de":"A","\u0226":"A","\u01e0":"A","\u1ea0":"A","\u0200":"A","\u00c0":"A","\u1ea2":"A","\u0202":"A","\u0100":"A","\u0104":"A","\u00c5":"A","\u01fa":"A","\u1e00":"A","\u023a":"A","\u00c3":"A","\ua732":"AA","\u00c6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u1e02":"B","\u1e04":"B","\u0181":"B",
"\u1e06":"B","\u0243":"B","\u0182":"B","\u0106":"C","\u010c":"C","\u00c7":"C","\u1e08":"C","\u0108":"C","\u010a":"C","\u0187":"C","\u023b":"C","\u010e":"D","\u1e10":"D","\u1e12":"D","\u1e0a":"D","\u1e0c":"D","\u018a":"D","\u1e0e":"D","\u01f2":"D","\u01c5":"D","\u0110":"D","\u018b":"D","\u01f1":"DZ","\u01c4":"DZ","\u00c9":"E","\u0114":"E","\u011a":"E","\u0228":"E","\u1e1c":"E","\u00ca":"E","\u1ebe":"E","\u1ec6":"E","\u1ec0":"E","\u1ec2":"E","\u1ec4":"E","\u1e18":"E","\u00cb":"E","\u0116":"E","\u1eb8":"E",
"\u0204":"E","\u00c8":"E","\u1eba":"E","\u0206":"E","\u0112":"E","\u1e16":"E","\u1e14":"E","\u0118":"E","\u0246":"E","\u1ebc":"E","\u1e1a":"E","\ua76a":"ET","\u1e1e":"F","\u0191":"F","\u01f4":"G","\u011e":"G","\u01e6":"G","\u0122":"G","\u011c":"G","\u0120":"G","\u0193":"G","\u1e20":"G","\u01e4":"G","\u1e2a":"H","\u021e":"H","\u1e28":"H","\u0124":"H","\u2c67":"H","\u1e26":"H","\u1e22":"H","\u1e24":"H","\u0126":"H","\u00cd":"I","\u012c":"I","\u01cf":"I","\u00ce":"I","\u00cf":"I","\u1e2e":"I","\u0130":"I",
"\u1eca":"I","\u0208":"I","\u00cc":"I","\u1ec8":"I","\u020a":"I","\u012a":"I","\u012e":"I","\u0197":"I","\u0128":"I","\u1e2c":"I","\ua779":"D","\ua77b":"F","\ua77d":"G","\ua782":"R","\ua784":"S","\ua786":"T","\ua76c":"IS","\u0134":"J","\u0248":"J","\u1e30":"K","\u01e8":"K","\u0136":"K","\u2c69":"K","\ua742":"K","\u1e32":"K","\u0198":"K","\u1e34":"K","\ua740":"K","\ua744":"K","\u0139":"L","\u023d":"L","\u013d":"L","\u013b":"L","\u1e3c":"L","\u1e36":"L","\u1e38":"L","\u2c60":"L","\ua748":"L","\u1e3a":"L",
"\u013f":"L","\u2c62":"L","\u01c8":"L","\u0141":"L","\u01c7":"LJ","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u0143":"N","\u0147":"N","\u0145":"N","\u1e4a":"N","\u1e44":"N","\u1e46":"N","\u01f8":"N","\u019d":"N","\u1e48":"N","\u0220":"N","\u01cb":"N","\u00d1":"N","\u01ca":"NJ","\u00d3":"O","\u014e":"O","\u01d1":"O","\u00d4":"O","\u1ed0":"O","\u1ed8":"O","\u1ed2":"O","\u1ed4":"O","\u1ed6":"O","\u00d6":"O","\u022a":"O","\u022e":"O","\u0230":"O","\u1ecc":"O","\u0150":"O","\u020c":"O","\u00d2":"O",
"\u1ece":"O","\u01a0":"O","\u1eda":"O","\u1ee2":"O","\u1edc":"O","\u1ede":"O","\u1ee0":"O","\u020e":"O","\ua74a":"O","\ua74c":"O","\u014c":"O","\u1e52":"O","\u1e50":"O","\u019f":"O","\u01ea":"O","\u01ec":"O","\u00d8":"O","\u01fe":"O","\u00d5":"O","\u1e4c":"O","\u1e4e":"O","\u022c":"O","\u01a2":"OI","\ua74e":"OO","\u0190":"E","\u0186":"O","\u0222":"OU","\u1e54":"P","\u1e56":"P","\ua752":"P","\u01a4":"P","\ua754":"P","\u2c63":"P","\ua750":"P","\ua758":"Q","\ua756":"Q","\u0154":"R","\u0158":"R","\u0156":"R",
"\u1e58":"R","\u1e5a":"R","\u1e5c":"R","\u0210":"R","\u0212":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua73e":"C","\u018e":"E","\u015a":"S","\u1e64":"S","\u0160":"S","\u1e66":"S","\u015e":"S","\u015c":"S","\u0218":"S","\u1e60":"S","\u1e62":"S","\u1e68":"S","\u0164":"T","\u0162":"T","\u1e70":"T","\u021a":"T","\u023e":"T","\u1e6a":"T","\u1e6c":"T","\u01ac":"T","\u1e6e":"T","\u01ae":"T","\u0166":"T","\u2c6f":"A","\ua780":"L","\u019c":"M","\u0245":"V","\ua728":"TZ","\u00da":"U","\u016c":"U","\u01d3":"U",
"\u00db":"U","\u1e76":"U","\u00dc":"U","\u01d7":"U","\u01d9":"U","\u01db":"U","\u01d5":"U","\u1e72":"U","\u1ee4":"U","\u0170":"U","\u0214":"U","\u00d9":"U","\u1ee6":"U","\u01af":"U","\u1ee8":"U","\u1ef0":"U","\u1eea":"U","\u1eec":"U","\u1eee":"U","\u0216":"U","\u016a":"U","\u1e7a":"U","\u0172":"U","\u016e":"U","\u0168":"U","\u1e78":"U","\u1e74":"U","\ua75e":"V","\u1e7e":"V","\u01b2":"V","\u1e7c":"V","\ua760":"VY","\u1e82":"W","\u0174":"W","\u1e84":"W","\u1e86":"W","\u1e88":"W","\u1e80":"W","\u2c72":"W",
"\u1e8c":"X","\u1e8a":"X","\u00dd":"Y","\u0176":"Y","\u0178":"Y","\u1e8e":"Y","\u1ef4":"Y","\u1ef2":"Y","\u01b3":"Y","\u1ef6":"Y","\u1efe":"Y","\u0232":"Y","\u024e":"Y","\u1ef8":"Y","\u0179":"Z","\u017d":"Z","\u1e90":"Z","\u2c6b":"Z","\u017b":"Z","\u1e92":"Z","\u0224":"Z","\u1e94":"Z","\u01b5":"Z","\u0132":"IJ","\u0152":"OE","\u1d00":"A","\u1d01":"AE","\u0299":"B","\u1d03":"B","\u1d04":"C","\u1d05":"D","\u1d07":"E","\ua730":"F","\u0262":"G","\u029b":"G","\u029c":"H","\u026a":"I","\u0281":"R","\u1d0a":"J",
"\u1d0b":"K","\u029f":"L","\u1d0c":"L","\u1d0d":"M","\u0274":"N","\u1d0f":"O","\u0276":"OE","\u1d10":"O","\u1d15":"OU","\u1d18":"P","\u0280":"R","\u1d0e":"N","\u1d19":"R","\ua731":"S","\u1d1b":"T","\u2c7b":"E","\u1d1a":"R","\u1d1c":"U","\u1d20":"V","\u1d21":"W","\u028f":"Y","\u1d22":"Z","\u00e1":"a","\u0103":"a","\u1eaf":"a","\u1eb7":"a","\u1eb1":"a","\u1eb3":"a","\u1eb5":"a","\u01ce":"a","\u00e2":"a","\u1ea5":"a","\u1ead":"a","\u1ea7":"a","\u1ea9":"a","\u1eab":"a","\u00e4":"a","\u01df":"a","\u0227":"a",
"\u01e1":"a","\u1ea1":"a","\u0201":"a","\u00e0":"a","\u1ea3":"a","\u0203":"a","\u0101":"a","\u0105":"a","\u1d8f":"a","\u1e9a":"a","\u00e5":"a","\u01fb":"a","\u1e01":"a","\u2c65":"a","\u00e3":"a","\ua733":"aa","\u00e6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u1e03":"b","\u1e05":"b","\u0253":"b","\u1e07":"b","\u1d6c":"b","\u1d80":"b","\u0180":"b","\u0183":"b","\u0275":"o","\u0107":"c","\u010d":"c","\u00e7":"c","\u1e09":"c","\u0109":"c",
"\u0255":"c","\u010b":"c","\u0188":"c","\u023c":"c","\u010f":"d","\u1e11":"d","\u1e13":"d","\u0221":"d","\u1e0b":"d","\u1e0d":"d","\u0257":"d","\u1d91":"d","\u1e0f":"d","\u1d6d":"d","\u1d81":"d","\u0111":"d","\u0256":"d","\u018c":"d","\u0131":"i","\u0237":"j","\u025f":"j","\u0284":"j","\u01f3":"dz","\u01c6":"dz","\u00e9":"e","\u0115":"e","\u011b":"e","\u0229":"e","\u1e1d":"e","\u00ea":"e","\u1ebf":"e","\u1ec7":"e","\u1ec1":"e","\u1ec3":"e","\u1ec5":"e","\u1e19":"e","\u00eb":"e","\u0117":"e","\u1eb9":"e",
"\u0205":"e","\u00e8":"e","\u1ebb":"e","\u0207":"e","\u0113":"e","\u1e17":"e","\u1e15":"e","\u2c78":"e","\u0119":"e","\u1d92":"e","\u0247":"e","\u1ebd":"e","\u1e1b":"e","\ua76b":"et","\u1e1f":"f","\u0192":"f","\u1d6e":"f","\u1d82":"f","\u01f5":"g","\u011f":"g","\u01e7":"g","\u0123":"g","\u011d":"g","\u0121":"g","\u0260":"g","\u1e21":"g","\u1d83":"g","\u01e5":"g","\u1e2b":"h","\u021f":"h","\u1e29":"h","\u0125":"h","\u2c68":"h","\u1e27":"h","\u1e23":"h","\u1e25":"h","\u0266":"h","\u1e96":"h","\u0127":"h",
"\u0195":"hv","\u00ed":"i","\u012d":"i","\u01d0":"i","\u00ee":"i","\u00ef":"i","\u1e2f":"i","\u1ecb":"i","\u0209":"i","\u00ec":"i","\u1ec9":"i","\u020b":"i","\u012b":"i","\u012f":"i","\u1d96":"i","\u0268":"i","\u0129":"i","\u1e2d":"i","\ua77a":"d","\ua77c":"f","\u1d79":"g","\ua783":"r","\ua785":"s","\ua787":"t","\ua76d":"is","\u01f0":"j","\u0135":"j","\u029d":"j","\u0249":"j","\u1e31":"k","\u01e9":"k","\u0137":"k","\u2c6a":"k","\ua743":"k","\u1e33":"k","\u0199":"k","\u1e35":"k","\u1d84":"k","\ua741":"k",
"\ua745":"k","\u013a":"l","\u019a":"l","\u026c":"l","\u013e":"l","\u013c":"l","\u1e3d":"l","\u0234":"l","\u1e37":"l","\u1e39":"l","\u2c61":"l","\ua749":"l","\u1e3b":"l","\u0140":"l","\u026b":"l","\u1d85":"l","\u026d":"l","\u0142":"l","\u01c9":"lj","\u017f":"s","\u1e9c":"s","\u1e9b":"s","\u1e9d":"s","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u1d6f":"m","\u1d86":"m","\u0144":"n","\u0148":"n","\u0146":"n","\u1e4b":"n","\u0235":"n","\u1e45":"n","\u1e47":"n","\u01f9":"n","\u0272":"n","\u1e49":"n",
"\u019e":"n","\u1d70":"n","\u1d87":"n","\u0273":"n","\u00f1":"n","\u01cc":"nj","\u00f3":"o","\u014f":"o","\u01d2":"o","\u00f4":"o","\u1ed1":"o","\u1ed9":"o","\u1ed3":"o","\u1ed5":"o","\u1ed7":"o","\u00f6":"o","\u022b":"o","\u022f":"o","\u0231":"o","\u1ecd":"o","\u0151":"o","\u020d":"o","\u00f2":"o","\u1ecf":"o","\u01a1":"o","\u1edb":"o","\u1ee3":"o","\u1edd":"o","\u1edf":"o","\u1ee1":"o","\u020f":"o","\ua74b":"o","\ua74d":"o","\u2c7a":"o","\u014d":"o","\u1e53":"o","\u1e51":"o","\u01eb":"o","\u01ed":"o",
"\u00f8":"o","\u01ff":"o","\u00f5":"o","\u1e4d":"o","\u1e4f":"o","\u022d":"o","\u01a3":"oi","\ua74f":"oo","\u025b":"e","\u1d93":"e","\u0254":"o","\u1d97":"o","\u0223":"ou","\u1e55":"p","\u1e57":"p","\ua753":"p","\u01a5":"p","\u1d71":"p","\u1d88":"p","\ua755":"p","\u1d7d":"p","\ua751":"p","\ua759":"q","\u02a0":"q","\u024b":"q","\ua757":"q","\u0155":"r","\u0159":"r","\u0157":"r","\u1e59":"r","\u1e5b":"r","\u1e5d":"r","\u0211":"r","\u027e":"r","\u1d73":"r","\u0213":"r","\u1e5f":"r","\u027c":"r","\u1d72":"r",
"\u1d89":"r","\u024d":"r","\u027d":"r","\u2184":"c","\ua73f":"c","\u0258":"e","\u027f":"r","\u015b":"s","\u1e65":"s","\u0161":"s","\u1e67":"s","\u015f":"s","\u015d":"s","\u0219":"s","\u1e61":"s","\u1e63":"s","\u1e69":"s","\u0282":"s","\u1d74":"s","\u1d8a":"s","\u023f":"s","\u0261":"g","\u1d11":"o","\u1d13":"o","\u1d1d":"u","\u0165":"t","\u0163":"t","\u1e71":"t","\u021b":"t","\u0236":"t","\u1e97":"t","\u2c66":"t","\u1e6b":"t","\u1e6d":"t","\u01ad":"t","\u1e6f":"t","\u1d75":"t","\u01ab":"t","\u0288":"t",
"\u0167":"t","\u1d7a":"th","\u0250":"a","\u1d02":"ae","\u01dd":"e","\u1d77":"g","\u0265":"h","\u02ae":"h","\u02af":"h","\u1d09":"i","\u029e":"k","\ua781":"l","\u026f":"m","\u0270":"m","\u1d14":"oe","\u0279":"r","\u027b":"r","\u027a":"r","\u2c79":"r","\u0287":"t","\u028c":"v","\u028d":"w","\u028e":"y","\ua729":"tz","\u00fa":"u","\u016d":"u","\u01d4":"u","\u00fb":"u","\u1e77":"u","\u00fc":"u","\u01d8":"u","\u01da":"u","\u01dc":"u","\u01d6":"u","\u1e73":"u","\u1ee5":"u","\u0171":"u","\u0215":"u","\u00f9":"u",
"\u1ee7":"u","\u01b0":"u","\u1ee9":"u","\u1ef1":"u","\u1eeb":"u","\u1eed":"u","\u1eef":"u","\u0217":"u","\u016b":"u","\u1e7b":"u","\u0173":"u","\u1d99":"u","\u016f":"u","\u0169":"u","\u1e79":"u","\u1e75":"u","\u1d6b":"ue","\ua778":"um","\u2c74":"v","\ua75f":"v","\u1e7f":"v","\u028b":"v","\u1d8c":"v","\u2c71":"v","\u1e7d":"v","\ua761":"vy","\u1e83":"w","\u0175":"w","\u1e85":"w","\u1e87":"w","\u1e89":"w","\u1e81":"w","\u2c73":"w","\u1e98":"w","\u1e8d":"x","\u1e8b":"x","\u1d8d":"x","\u00fd":"y","\u0177":"y",
"\u00ff":"y","\u1e8f":"y","\u1ef5":"y","\u1ef3":"y","\u01b4":"y","\u1ef7":"y","\u1eff":"y","\u0233":"y","\u1e99":"y","\u024f":"y","\u1ef9":"y","\u017a":"z","\u017e":"z","\u1e91":"z","\u0291":"z","\u2c6c":"z","\u017c":"z","\u1e93":"z","\u0225":"z","\u1e95":"z","\u1d76":"z","\u1d8e":"z","\u0290":"z","\u01b6":"z","\u0240":"z","\ufb00":"ff","\ufb03":"ffi","\ufb04":"ffl","\ufb01":"fi","\ufb02":"fl","\u0133":"ij","\u0153":"oe","\ufb06":"st","\u2090":"a","\u2091":"e","\u1d62":"i","\u2c7c":"j","\u2092":"o",
"\u1d63":"r","\u1d64":"u","\u1d65":"v","\u2093":"x"};String.prototype.latinise=function(){return this.replace(/[^A-Za-z0-9\[\] ]/g,function(c){return Na[c]||c})};String.prototype.latinize=String.prototype.latinise;String.prototype.isLatin=function(){return this==this.latinise()};String.prototype.levenstein=function(c){c+="";var e=[],b,a,f=Math.min;if(!this||!c)return(c||this).length;for(b=0;b<=c.length;e[b]=[b++]);for(a=0;a<=this.length;e[0][a]=a++);for(b=1;b<=c.length;b++)for(a=1;a<=this.length;a++)e[b][a]=
c.charAt(b-1)==this.charAt(a-1)?e[b-1][a-1]:e[b][a]=f(e[b-1][a-1]+1,f(e[b][a-1]+1,e[b-1][a]));return e[c.length][this.length]};Ra&&GM_addStyle(".bloc-message-forum:nth-of-type(2n+1){background: "+Qa+";border: 1px solid "+Za+";} .stickersM{max-width:200px !important; max-height: 200px !important}");var Oa=[];(new MutationObserver(function(c,e){var b=document.getElementsByClassName("f-lyt-default f-state-popular f-jvc-thm")[0];if(void 0!=document.getElementsByClassName("f-stkrs f-cfx")[0]){e.disconnect();
var a=document.createElement("div");a.id="historiqueStkr";a.style="background:"+$(document.getElementsByClassName("container-content")[0]).css("background-color")+";text-align:center;";b.insertBefore(a,b.firstChild);for(b=0;b<v.length;b++){var f=document.createElement("li");f.className="f-stkr-w";f.style="display:inline-block;cursor:pointer;text-align:center;margin-left:2px; margin-right:2px";f.innerHTML='<div class="f-stkr f-no-sml jvcstckr-stckr" style="width:'+document.getElementsByClassName("f-stkrs f-cfx")[0].offsetWidth/
p+'px"><span class="f-hlpr"></span><img src="'+v[b]+'" style="max-height:'+n+"px;max-width:"+n+'px" data-code=""></div>';Oa[v[b]]=function(a){return function(){f.onclick=function(){E(a)}}}(v[b]);Oa[v[b]]();document.getElementById("historiqueStkr").appendChild(f)}}})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1});var ea=!1,ja=!1,da=!1;$(function(){$.contextMenu({selector:".jvcstckr-stckr",build:function(c,e){var b=e.target.parentElement.getElementsByTagName("img")[0].src,
a=e.target.parentElement,k=!1;if((b.startsWith("http://")||b.startsWith("https://"))&&b.includes("image.noelshack.com")&&(b.endsWith(".png")||b.endsWith(".gif")||b.endsWith(".jpg")||b.endsWith(".jpeg"))||b.startsWith("http://jv.stkr.fr/p/")&&b.endsWith("?f-ed=1"))for(var h=0;h<f.length;h++){var l=f[h].map(function(a){return a.url}).indexOf(b);if(-1!=l){0<f[h][l].sounds.length&&(k=!0);break}}return k?ja||-1!=t.indexOf(b)?ea||da?{callback:function(c,e){"delFav"==c?w(b,a):"modCat"==c?F(b):"modTags"==
c?J(b):"modSons"==c?N(b):"modGSons"==c?W(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},modGSons:{name:"Modifier les sons du groupe",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",
icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:null!=a.parentElement.previousSibling&&null!=a.parentElement.nextSibling&&-1!=t.indexOf(a.parentElement.nextSibling.getElementsByTagName("img")[0].src)?{callback:function(c,e){"delFav"==c?w(b,a):"moveTop"==c?ka(b,
a):"moveUp"==c?x(b,a):"moveDown"==c?H(b,a):"moveBottom"==c?A(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"modGSons"==c?W(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},moveTop:{name:"D\u00e9placer tout en haut",icon:"fa-angle-double-up"},moveUp:{name:"D\u00e9placer vers le haut",icon:"fa-angle-up"},moveDown:{name:"D\u00e9placer vers le bas",icon:"fa-angle-down"},moveBottom:{name:"D\u00e9placer tout en bas",
icon:"fa-angle-double-down"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},modGSons:{name:"Modifier les sons du groupe",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",
icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:null!=a.parentElement.previousSibling?{callback:function(c,e){"delFav"==c?w(b,a):"moveTop"==c?ka(b,a):"moveUp"==c?x(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"modGSons"==c?W(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},moveTop:{name:"D\u00e9placer tout en haut",
icon:"fa-angle-double-up"},moveUp:{name:"D\u00e9placer vers le haut",icon:"fa-angle-up"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},modGSons:{name:"Modifier les sons du groupe",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},
repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:null!=a.parentElement.nextSibling&&-1!=t.indexOf(a.parentElement.nextSibling.getElementsByTagName("img")[0].src)?{callback:function(c,e){"delFav"==c?w(b,a):"moveDown"==c?H(b,a):"moveBottom"==c?A(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"modGSons"==c?W(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==
c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},moveDown:{name:"D\u00e9placer vers le bas",icon:"fa-angle-down"},moveBottom:{name:"D\u00e9placer tout en bas",icon:"fa-angle-double-down"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},modGSons:{name:"Modifier les sons du groupe",icon:"fa-volume-up"},
repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:{callback:function(c,e){"delFav"==c?w(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"modGSons"==c?W(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==
c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},modGSons:{name:"Modifier les sons du groupe",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",
icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:{callback:function(c,e){"addFav"==c?z(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"modGSons"==c?W(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{addFav:{name:"Ajouter aux favoris",icon:"fa-star"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",
icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},modGSons:{name:"Modifier les sons du groupe",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:ja||-1!=t.indexOf(b)?ea||
da?{callback:function(c,e){"delFav"==c?w(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},
repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:null!=a.parentElement.previousSibling&&null!=a.parentElement.nextSibling&&-1!=t.indexOf(a.parentElement.nextSibling.getElementsByTagName("img")[0].src)?{callback:function(c,e){"delFav"==c?w(b,a):"moveTop"==c?ka(b,a):"moveUp"==c?x(b,a):"moveDown"==
c?H(b,a):"moveBottom"==c?A(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},moveTop:{name:"D\u00e9placer tout en haut",icon:"fa-angle-double-up"},moveUp:{name:"D\u00e9placer vers le haut",icon:"fa-angle-up"},moveDown:{name:"D\u00e9placer vers le bas",icon:"fa-angle-down"},moveBottom:{name:"D\u00e9placer tout en bas",icon:"fa-angle-double-down"},sep1:"---------",
modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",
icon:"fa-times"}}}:null!=a.parentElement.previousSibling?{callback:function(c,e){"delFav"==c?w(b,a):"moveTop"==c?ka(b,a):"moveUp"==c?x(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},moveTop:{name:"D\u00e9placer tout en haut",icon:"fa-angle-double-up"},moveUp:{name:"D\u00e9placer vers le haut",icon:"fa-angle-up"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",
icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:null!=a.parentElement.nextSibling&&
-1!=t.indexOf(a.parentElement.nextSibling.getElementsByTagName("img")[0].src)?{callback:function(c,e){"delFav"==c?w(b,a):"moveDown"==c?H(b,a):"moveBottom"==c?A(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},moveDown:{name:"D\u00e9placer vers le bas",icon:"fa-angle-down"},moveBottom:{name:"D\u00e9placer tout en bas",icon:"fa-angle-double-down"},sep1:"---------",
modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",
icon:"fa-times"}}}:{callback:function(c,e){"delFav"==c?w(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{delFav:{name:"Supprimer des favoris",icon:"fa-star-o"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",
icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}:{callback:function(c,e){"addFav"==c?z(b,a):"modCat"==c?F(b):"modTags"==c?J(b):"modSons"==c?N(b):"repDLink"==c?K(b):"repDupl1"==c?D(b):"repDupl2"==c?G(b):"delStckr"==c&&L(b)},items:{addFav:{name:"Ajouter aux favoris",
icon:"fa-star"},sep1:"---------",modCat:{name:"Modifier la cat\u00e9gorie du sticker",icon:"fa-folder-open"},modTags:{name:"Modifier les tags du sticker",icon:"fa-tags"},modSons:{name:"Modifier les sons du sticker",icon:"fa-volume-up"},repDLink:{name:"Reporter un lien mort",icon:"fa-chain-broken"},repDupl1:{name:"Reporter un doublon (sticker original)",icon:"fa-files-o"},repDupl2:{name:"Reporter un doublon (doublon du sticker)",icon:"fa-files-o"},delStckr:{name:"Supprimer le sticker",icon:"fa-trash"},
sep2:"---------",fermer:{name:"Fermer",icon:"fa-times"}}}}})});(new MutationObserver(function(c,e){document.querySelector('div[data-flg-tt="Hap"]')&&(e.disconnect(),wa())})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1});$a&&(new MutationObserver(function(c,e){if(document.getElementsByClassName("bloc-pagi-default")[1]){e.disconnect();for(var b=document.getElementsByClassName("img-stickers"),a=0;a<b.length;a++)if(-1<$.inArray(b[a].src,Ba))if(!ab){if(Pa)if(b[a].previousSibling&&
b[a].previousSibling.style&&"red"==b[a].previousSibling.style.color)b[a].previousSibling.innerHTML+="Sticker supprim\u00e9! ";else{var f=document.createElement("div");f.style.color="red";f.innerHTML="Sticker supprim\u00e9! ";b[a].parentElement.insertBefore(f,b[a])}b[a].parentNode.removeChild(b[a]);a--}else if(null!=b[a].offsetParent){for(f=b[a];"undefined"!=typeof f.parentElement&&"bloc-message-forum "!=f.parentElement.className;)f=f.parentElement;f.style.display="none";if(Pa){var h=document.createElement("div");
h.className="conteneur-message n-displayed";h.style.color="red";h.style.textAlign="center";h.style.marginBottom="15px";h.innerHTML="Ce post a \u00e9t\u00e9 supprim\u00e9 car il contenait un sticker banni. Cliquez ici pour l'afficher.";h.addEventListener("click",function(){this.className.endsWith("n-displayed")?(this.parentElement.lastElementChild.removeAttribute("style"),this.innerHTML="Ce post a \u00e9t\u00e9 supprim\u00e9 car il contenait un sticker banni. Cliquez ici pour le cacher.",$(this).removeClass("n-displayed")):
(this.parentElement.lastElementChild.style.display="none",this.innerHTML="Ce post a \u00e9t\u00e9 supprim\u00e9 car il contenait un sticker banni. Cliquez ici pour l'afficher.",this.className+=" n-displayed")});f.parentElement.insertBefore(h,f)}}}})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1});(new MutationObserver(function(c,e){var b=document.querySelector('div[data-flg-tt="Bibliothèque"]');b&&(e.disconnect(),b.parentElement.setAttribute("style","display:none !important;height:0px !important;width:0px !important"))})).observe(document.body,
{childList:!0,subtree:!0,attributes:!1,characterData:!1});(new MutationObserver(function(c,e){var b=document.querySelector('button[data-edit="stickers"]');b&&(e.disconnect(),setTimeout(Wa(),100),b.onclick=function(){Aa()})})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1});setTimeout(function(){La||wa()},1E4)}for(var H="espacementStickers tailleStickers tailleFenetre modifierCouleurPosts couleurBackground couleurBordure supprimerFond tailleSticker stickerCliquable supprStickersBan supprDesPosts stickerMessageDeSuppr sons webmPlayer youtubePlayer vocarooPlayer widthPlayer heightPlayer playerSignature intervalle xBarreHistorique homeCat stickersBanListe historique".split(" "),
A=["10","44","150",!0,"#FFF","#d5d5d5",!0,"100",!0,!0,!1,!0,!0,!0,!0,!0,"320","240",!1,"360","1","Populaires",JSON.stringify("http://jv.stkr.fr/p/1miq http://jv.stkr.fr/p/1min http://jv.stkr.fr/p/1mim http://jv.stkr.fr/p/1mig-fr http://jv.stkr.fr/p/1mij-fr http://jv.stkr.fr/p/1mio http://jv.stkr.fr/p/1mik http://jv.stkr.fr/p/1mip http://jv.stkr.fr/p/1mif http://jv.stkr.fr/p/1mii-fr http://jv.stkr.fr/p/1mih-fr http://jv.stkr.fr/p/1mil http://jv.stkr.fr/p/1mie-fr http://jv.stkr.fr/p/1mid-fr http://jv.stkr.fr/p/1myf http://jv.stkr.fr/p/1my7 http://jv.stkr.fr/p/1myc http://jv.stkr.fr/p/1my9 http://jv.stkr.fr/p/1myb http://jv.stkr.fr/p/1my6 http://jv.stkr.fr/p/1mye http://jv.stkr.fr/p/1myx http://jv.stkr.fr/p/1myd http://jv.stkr.fr/p/1my4 http://jv.stkr.fr/p/1my8 http://jv.stkr.fr/p/1mya http://jv.stkr.fr/p/1my5 http://jv.stkr.fr/p/1n28".split(" ")),
JSON.stringify([])],l=0;l<H.length;l++)void 0===GM_getValue(H[l])&&GM_setValue(H[l],A[l]);var p=GM_getValue("espacementStickers"),n=GM_getValue("tailleStickers"),ya=GM_getValue("tailleFenetre"),Ra=GM_getValue("modifierCouleurPosts"),Qa=GM_getValue("couleurBackground"),Za=GM_getValue("couleurBordure"),Ca=GM_getValue("supprimerFond"),I=GM_getValue("tailleSticker"),Ga=GM_getValue("stickerCliquable"),$a=GM_getValue("supprStickersBan"),ab=GM_getValue("supprDesPosts"),Pa=GM_getValue("stickerMessageDeSuppr"),
Xa=GM_getValue("sons"),Ha=GM_getValue("webmPlayer"),Ia=GM_getValue("youtubePlayer"),Ja=GM_getValue("vocarooPlayer"),Da=GM_getValue("widthPlayer"),Ea=GM_getValue("heightPlayer"),Ka=GM_getValue("playerSignature"),Ma=GM_getValue("intervalle"),M=GM_getValue("xBarreHistorique"),Fa=GM_getValue("homeCat"),Ba=JSON.parse(GM_getValue("stickersBanListe")),v=JSON.parse(GM_getValue("historique"));v.length>p*M-M&&(v.splice(p*M-M),GM_setValue("historique",JSON.stringify(v)));var k=[],y=[],ua=[],X=[],ia=[];void 0===
GM_getValue("catFavoris")&&GM_setValue("catFavoris",JSON.stringify([]));var t=JSON.parse(GM_getValue("catFavoris")),f=[],ha=[];if(void 0===GM_getValue("lTimestamp")||Math.floor(Date.now()/6E4)-GM_getValue("lTimestamp")>=Ma||void 0===GM_getValue("allCat")||void 0===GM_getValue("catRealNames")||void 0===GM_getValue("catIcons")||void 0===GM_getValue("catToShow")||void 0===GM_getValue("catToShowS")||void 0===GM_getValue("catPopulaires"))GM_deleteValue("lTimestamp"),GM_xmlhttpRequest({method:"GET",url:"http://jvcstckr.comli.com/specials/CoreJVCSticker++.xml?_="+
Date.now(),headers:{"User-Agent":"Mozilla/5.0",Accept:"text/xml"},onload:function(l){l.responseXML||(new DOMParser).parseFromString(l.responseText,"text/xml");for(var p=l.responseXML.getElementsByTagName("var"),n=0;n<p.length;n++)k.push(p[n].childNodes[0].nodeValue),y.push(p[n].parentNode.getElementsByTagName("nom")[0].childNodes[0].nodeValue),ua.push(p[n].parentNode.getElementsByTagName("icone")[0].childNodes[0].nodeValue);GM_setValue("allCat",JSON.stringify(k));GM_setValue("catRealNames",JSON.stringify(y));
GM_setValue("catIcons",JSON.stringify(ua));n=!1;if(void 0!==GM_getValue("catToShow"))for(var q=JSON.parse(GM_getValue("catToShow")),z=0;z<q.length;z++)if(-1==k.indexOf(q[z])){n=!0;break}if(void 0===GM_getValue("catToShow")||void 0===GM_getValue("catToShowS")||1==n){n=l.responseXML.getElementsByTagName("default");for(q=0;q<n.length;q++)"true"==n[q].childNodes[0].nodeValue&&X.push(p[q].childNodes[0].nodeValue);GM_setValue("catToShow",JSON.stringify(X));GM_setValue("catToShowS",JSON.stringify(X))}p=
[];for(n=0;n<k.length;n++){for(var q=[],z=l.responseXML.getElementsByTagName("stickers")[n].getElementsByTagName("sticker"),w=z.length,v=0;v<w;v++){var A=z[v].getElementsByTagName("sounds")[0].childNodes.length,A=0!==A?z[v].getElementsByTagName("sounds")[0].childNodes[0].nodeValue.split(" "):"";q.push({url:z[v].getElementsByTagName("url")[0].childNodes[0].nodeValue,counter:z[v].getElementsByTagName("counter")[0].childNodes[0].nodeValue,tags:z[v].getElementsByTagName("tags")[0].childNodes[0].nodeValue.split(" "),
sounds:A})}w=0;w=40<q.length?40:q.length-1;for(z=0;z<w;z++)p.push({url:q[z].url,counter:q[z].counter});w=t.length;for(z=0;z<w;z++)v=q.map(function(f){return f.url}).indexOf(t[w-1-z]),-1!=v&&(A=q[v],q.splice(v,1),q.unshift(A));f.push(q);GM_setValue(k[n],JSON.stringify(q))}p.sort(function(f,k){return k.counter-f.counter});for(z=0;40>z;z++)ha.push(p[z].url);X=JSON.parse(GM_getValue("catToShow"));GM_setValue("lTimestamp",Math.floor(Date.now()/6E4));x()}});else{k=JSON.parse(GM_getValue("allCat"));y=JSON.parse(GM_getValue("catRealNames"));
ua=JSON.parse(GM_getValue("catIcons"));X=JSON.parse(GM_getValue("catToShow"));ia=JSON.parse(GM_getValue("catPopulaires"));for(H=0;H<k.length;H++)f.push(JSON.parse(GM_getValue(k[H])));x()}var La=!1};