-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
2395 lines (2131 loc) · 322 KB
/
main.js
File metadata and controls
2395 lines (2131 loc) · 322 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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
var et=Object.defineProperty;var Aa=Object.getOwnPropertyDescriptor;var Da=Object.getOwnPropertyNames;var $a=Object.prototype.hasOwnProperty;var Ra=(c,t,e)=>t in c?et(c,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):c[t]=e;var v=(c,t)=>()=>(c&&(t=c(c=0)),t);var ve=(c,t)=>{for(var e in t)et(c,e,{get:t[e],enumerable:!0})},_a=(c,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Da(t))!$a.call(c,i)&&i!==e&&et(c,i,{get:()=>t[i],enumerable:!(n=Aa(t,i))||n.enumerable});return c};var Oa=c=>_a(et({},"__esModule",{value:!0}),c);var L=(c,t,e)=>(Ra(c,typeof t!="symbol"?t+"":t,e),e);var In,ne,qt=v(()=>{In=require("obsidian"),ne=class{constructor(t){this.plugin=t,this.init()}static getInstance(t){return this.instance||(this.instance=new ne(t)),this.instance}init(){}getCurrentMarkdownView(){var n;let t=this.plugin.app.workspace.getActiveFile(),e=this.plugin.app.workspace.getLeavesOfType("markdown");for(let i of e){let r=i.view;if(((n=r.file)==null?void 0:n.path)===(t==null?void 0:t.path))return r}return null}forceRenderActiveMarkdownView(){let t=this.getCurrentMarkdownView();t&&this.plugin.app.workspace.trigger("render",t)}queryElements(t){let e=this.getCurrentMarkdownView();if(!e)return[];let n=e.getMode()==="preview"?".markdown-preview-view":".markdown-source-view",i=e.containerEl.querySelector(n);return i?i.querySelectorAll(t):[]}getMarkdownViewContainer(){let t=this.getCurrentMarkdownView();return t?t.containerEl:null}getMarkdownRenderedElement(t,e){let n=this.queryElements(e);if(n.length<=t)return null;let i=n[t];return i||null}getFileOfLink(t){return this.plugin.app.metadataCache.getFirstLinkpathDest(t,"")}async getLinkFileContent(t){let e=this.getFileOfLink(t);return e?await this.plugin.app.vault.adapter.read(e.path):null}async saveImageFromUrl(t){var h;let e=this.plugin.app.workspace.getActiveFile();if(!e)return null;let n=e.basename,i=((h=e.parent)==null?void 0:h.path)||"",r=t.split("/"),o=r[r.length-1].split("?")[0].split(".").pop(),s=new Date().toISOString().replace(/[:.]/g,"-").replace("T","_"),l=`${n}_generated_${s}.${o||"jpg"}`,d=i==="/"?`/${l}`:`${i}/${l}`;try{let p=await(0,In.requestUrl)({url:t});if(p.status!==200)throw new Error("Failed to fetch image");let g=p.arrayBuffer;return await this.plugin.app.vault.adapter.writeBinary(d,g),d}catch(p){return console.error("Error saving image:",p),null}}}});var x,Re,An,Fa,za,Dn,$n,_e,Rn,Ba,nt,Na,jn,be,ja,Ha,Wt,qa,Va,Wa,Ut,it,Ua,xe,ie,ye,rt,Hn,_n,ke,at,On,Fn,Gt,zn,Vt,Kt,Ga,we,Jt,Ka,Zt,Bn,Nn,tt,Ja,le,O,el,tl,nl,il,rl,al,ol,sl,ll,cl,dl,pl,hl,ul,qn=v(()=>{x=c=>typeof c=="string",Re=()=>{let c,t,e=new Promise((n,i)=>{c=n,t=i});return e.resolve=c,e.reject=t,e},An=c=>c==null?"":""+c,Fa=(c,t,e)=>{c.forEach(n=>{t[n]&&(e[n]=t[n])})},za=/###/g,Dn=c=>c&&c.indexOf("###")>-1?c.replace(za,"."):c,$n=c=>!c||x(c),_e=(c,t,e)=>{let n=x(t)?t.split("."):t,i=0;for(;i<n.length-1;){if($n(c))return{};let r=Dn(n[i]);!c[r]&&e&&(c[r]=new e),Object.prototype.hasOwnProperty.call(c,r)?c=c[r]:c={},++i}return $n(c)?{}:{obj:c,k:Dn(n[i])}},Rn=(c,t,e)=>{let{obj:n,k:i}=_e(c,t,Object);if(n!==void 0||t.length===1){n[i]=e;return}let r=t[t.length-1],a=t.slice(0,t.length-1),o=_e(c,a,Object);for(;o.obj===void 0&&a.length;)r=`${a[a.length-1]}.${r}`,a=a.slice(0,a.length-1),o=_e(c,a,Object),o!=null&&o.obj&&typeof o.obj[`${o.k}.${r}`]!="undefined"&&(o.obj=void 0);o.obj[`${o.k}.${r}`]=e},Ba=(c,t,e,n)=>{let{obj:i,k:r}=_e(c,t,Object);i[r]=i[r]||[],i[r].push(e)},nt=(c,t)=>{let{obj:e,k:n}=_e(c,t);if(e&&Object.prototype.hasOwnProperty.call(e,n))return e[n]},Na=(c,t,e)=>{let n=nt(c,e);return n!==void 0?n:nt(t,e)},jn=(c,t,e)=>{for(let n in t)n!=="__proto__"&&n!=="constructor"&&(n in c?x(c[n])||c[n]instanceof String||x(t[n])||t[n]instanceof String?e&&(c[n]=t[n]):jn(c[n],t[n],e):c[n]=t[n]);return c},be=c=>c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),ja={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},Ha=c=>x(c)?c.replace(/[&<>"'\/]/g,t=>ja[t]):c,Wt=class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){let e=this.regExpMap.get(t);if(e!==void 0)return e;let n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}},qa=[" ",",","?","!",";"],Va=new Wt(20),Wa=(c,t,e)=>{t=t||"",e=e||"";let n=qa.filter(a=>t.indexOf(a)<0&&e.indexOf(a)<0);if(n.length===0)return!0;let i=Va.getRegExp(`(${n.map(a=>a==="?"?"\\?":a).join("|")})`),r=!i.test(c);if(!r){let a=c.indexOf(e);a>0&&!i.test(c.substring(0,a))&&(r=!0)}return r},Ut=function(c,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!c)return;if(c[t])return Object.prototype.hasOwnProperty.call(c,t)?c[t]:void 0;let n=t.split(e),i=c;for(let r=0;r<n.length;){if(!i||typeof i!="object")return;let a,o="";for(let s=r;s<n.length;++s)if(s!==r&&(o+=e),o+=n[s],a=i[o],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&s<n.length-1)continue;r+=s-r+1;break}i=a}return i},it=c=>c==null?void 0:c.replace("_","-"),Ua={type:"logger",log(c){this.output("log",c)},warn(c){this.output("warn",c)},error(c){this.output("error",c)},output(c,t){var e,n;(n=(e=console==null?void 0:console[c])==null?void 0:e.apply)==null||n.call(e,console,t)}},xe=class{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||Ua,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,n,i){return i&&!this.debug?null:(x(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[e](t))}create(t){return new xe(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new xe(this.logger,t)}},ie=new xe,ye=class{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);let i=this.observers[n].get(e)||0;this.observers[n].set(e,i+1)}),this}off(t,e){if(this.observers[t]){if(!e){delete this.observers[t];return}this.observers[t].delete(e)}}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(a=>{let[o,s]=a;for(let l=0;l<s;l++)o(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(a=>{let[o,s]=a;for(let l=0;l<s;l++)o.apply(o,[t,...n])})}},rt=class extends ye{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){let e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,n){var l,d;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure,o;t.indexOf(".")>-1?o=t.split("."):(o=[t,e],n&&(Array.isArray(n)?o.push(...n):x(n)&&r?o.push(...n.split(r)):o.push(n)));let s=nt(this.data,o);return!s&&!e&&!n&&t.indexOf(".")>-1&&(t=o[0],e=o[1],n=o.slice(2).join(".")),s||!a||!x(n)?s:Ut((d=(l=this.data)==null?void 0:l[t])==null?void 0:d[e],n,r)}addResource(t,e,n,i){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,o=[t,e];n&&(o=o.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(o=t.split("."),i=e,e=o[1]),this.addNamespaces(e),Rn(this.data,o,i),r.silent||this.emit("added",t,e,n,i)}addResources(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(let r in n)(x(n[r])||Array.isArray(n[r]))&&this.addResource(t,e,r,n[r],{silent:!0});i.silent||this.emit("added",t,e,n)}addResourceBundle(t,e,n,i,r){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[t,e];t.indexOf(".")>-1&&(o=t.split("."),i=n,n=e,e=o[1]),this.addNamespaces(e);let s=nt(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?jn(s,n,r):s={...s,...n},Rn(this.data,o,s),a.silent||this.emit("added",t,e,n)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return this.getResource(t,e)!==void 0}getResourceBundle(t,e){return e||(e=this.options.defaultNS),this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){let e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(i=>e[i]&&Object.keys(e[i]).length>0)}toJSON(){return this.data}},Hn={processors:{},addPostProcessor(c){this.processors[c.name]=c},handle(c,t,e,n,i){return c.forEach(r=>{var a,o;t=(o=(a=this.processors[r])==null?void 0:a.process(t,e,n,i))!=null?o:t}),t}},_n={},ke=class extends ye{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Fa(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ie.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;let n=this.resolve(t,e);return(n==null?void 0:n.res)!==void 0}extractFromKey(t,e){let n=e.nsSeparator!==void 0?e.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");let i=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator,r=e.ns||this.options.defaultNS||[],a=n&&t.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!e.keySeparator&&!this.options.userDefinedNsSeparator&&!e.nsSeparator&&!Wa(t,n,i);if(a&&!o){let s=t.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:t,namespaces:x(r)?[r]:r};let l=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(l[0])>-1)&&(r=l.shift()),t=l.join(i)}return{key:t,namespaces:x(r)?[r]:r}}translate(t,e,n){if(typeof e!="object"&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),typeof e=="object"&&(e={...e}),e||(e={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);let i=e.returnDetails!==void 0?e.returnDetails:this.options.returnDetails,r=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator,{key:a,namespaces:o}=this.extractFromKey(t[t.length-1],e),s=o[o.length-1],l=e.lng||this.language,d=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((l==null?void 0:l.toLowerCase())==="cimode"){if(d){let S=e.nsSeparator||this.options.nsSeparator;return i?{res:`${s}${S}${a}`,usedKey:a,exactUsedKey:a,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(e)}:`${s}${S}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(e)}:a}let h=this.resolve(t,e),p=h==null?void 0:h.res,g=(h==null?void 0:h.usedKey)||a,m=(h==null?void 0:h.exactUsedKey)||a,f=Object.prototype.toString.apply(p),b=["[object Number]","[object Function]","[object RegExp]"],C=e.joinArrays!==void 0?e.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject,A=!x(p)&&typeof p!="boolean"&&typeof p!="number";if(k&&p&&A&&b.indexOf(f)<0&&!(x(C)&&Array.isArray(p))){if(!e.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let S=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,p,{...e,ns:o}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(h.res=S,h.usedParams=this.getUsedParamsDetails(e),h):S}if(r){let S=Array.isArray(p),$=S?[]:{},ee=S?m:g;for(let D in p)if(Object.prototype.hasOwnProperty.call(p,D)){let V=`${ee}${r}${D}`;$[D]=this.translate(V,{...e,joinArrays:!1,ns:o}),$[D]===V&&($[D]=p[D])}p=$}}else if(k&&x(C)&&Array.isArray(p))p=p.join(C),p&&(p=this.extendTranslation(p,t,e,n));else{let S=!1,$=!1,ee=e.count!==void 0&&!x(e.count),D=ke.hasDefaultValue(e),V=ee?this.pluralResolver.getSuffix(l,e.count,e):"",fe=e.ordinal&&ee?this.pluralResolver.getSuffix(l,e.count,{ordinal:!1}):"",oe=ee&&!e.ordinal&&e.count===0,Ie=oe&&e[`defaultValue${this.options.pluralSeparator}zero`]||e[`defaultValue${V}`]||e[`defaultValue${fe}`]||e.defaultValue;!this.isValidLookup(p)&&D&&(S=!0,p=Ie),this.isValidLookup(p)||($=!0,p=a);let Ia=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&$?void 0:p,Ae=D&&Ie!==p&&this.options.updateMissing;if($||S||Ae){if(this.logger.log(Ae?"updateKey":"missingKey",l,s,a,Ae?Ie:p),r){let W=this.resolve(a,{...e,keySeparator:!1});W&&W.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let De=[],Xe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Xe&&Xe[0])for(let W=0;W<Xe.length;W++)De.push(Xe[W]);else this.options.saveMissingTo==="all"?De=this.languageUtils.toResolveHierarchy(e.lng||this.language):De.push(e.lng||this.language);let En=(W,se,$e)=>{var Pn;let Mn=D&&$e!==p?$e:Ia;this.options.missingKeyHandler?this.options.missingKeyHandler(W,s,se,Mn,Ae,e):(Pn=this.backendConnector)!=null&&Pn.saveMissing&&this.backendConnector.saveMissing(W,s,se,Mn,Ae,e),this.emit("missingKey",W,s,se,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&ee?De.forEach(W=>{let se=this.pluralResolver.getSuffixes(W,e);oe&&e[`defaultValue${this.options.pluralSeparator}zero`]&&se.indexOf(`${this.options.pluralSeparator}zero`)<0&&se.push(`${this.options.pluralSeparator}zero`),se.forEach($e=>{En([W],a+$e,e[`defaultValue${$e}`]||Ie)})}):En(De,a,Ie))}p=this.extendTranslation(p,t,e,h,n),$&&p===a&&this.options.appendNamespaceToMissingKey&&(p=`${s}:${a}`),($||S)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${a}`:a,S?p:void 0))}return i?(h.res=p,h.usedParams=this.getUsedParamsDetails(e),h):p}extendTranslation(t,e,n,i,r){var l,d;var a=this;if((l=this.i18nFormat)!=null&&l.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let h=x(t)&&(((d=n==null?void 0:n.interpolation)==null?void 0:d.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),p;if(h){let m=t.match(this.interpolator.nestingRegexp);p=m&&m.length}let g=n.replace&&!x(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(g={...this.options.interpolation.defaultVariables,...g}),t=this.interpolator.interpolate(t,g,n.lng||this.language||i.usedLng,n),h){let m=t.match(this.interpolator.nestingRegexp),f=m&&m.length;p<f&&(n.nest=!1)}!n.lng&&i&&i.res&&(n.lng=this.language||i.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var m=arguments.length,f=new Array(m),b=0;b<m;b++)f[b]=arguments[b];return(r==null?void 0:r[0])===f[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${e[0]}`),null):a.translate(...f,e)},n)),n.interpolation&&this.interpolator.reset()}let o=n.postProcess||this.options.postProcess,s=x(o)?[o]:o;return t!=null&&(s!=null&&s.length)&&n.applyPostProcessor!==!1&&(t=Hn.handle(s,t,e,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i,r,a,o;return x(t)&&(t=[t]),t.forEach(s=>{if(this.isValidLookup(n))return;let l=this.extractFromKey(s,e),d=l.key;i=d;let h=l.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));let p=e.count!==void 0&&!x(e.count),g=p&&!e.ordinal&&e.count===0,m=e.context!==void 0&&(x(e.context)||typeof e.context=="number")&&e.context!=="",f=e.lngs?e.lngs:this.languageUtils.toResolveHierarchy(e.lng||this.language,e.fallbackLng);h.forEach(b=>{var C,k;this.isValidLookup(n)||(o=b,!_n[`${f[0]}-${b}`]&&((C=this.utils)!=null&&C.hasLoadedNamespace)&&!((k=this.utils)!=null&&k.hasLoadedNamespace(o))&&(_n[`${f[0]}-${b}`]=!0,this.logger.warn(`key "${i}" for languages "${f.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(A=>{var ee;if(this.isValidLookup(n))return;a=A;let S=[d];if((ee=this.i18nFormat)!=null&&ee.addLookupKeys)this.i18nFormat.addLookupKeys(S,d,A,b,e);else{let D;p&&(D=this.pluralResolver.getSuffix(A,e.count,e));let V=`${this.options.pluralSeparator}zero`,fe=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(S.push(d+D),e.ordinal&&D.indexOf(fe)===0&&S.push(d+D.replace(fe,this.options.pluralSeparator)),g&&S.push(d+V)),m){let oe=`${d}${this.options.contextSeparator}${e.context}`;S.push(oe),p&&(S.push(oe+D),e.ordinal&&D.indexOf(fe)===0&&S.push(oe+D.replace(fe,this.options.pluralSeparator)),g&&S.push(oe+V))}}let $;for(;$=S.pop();)this.isValidLookup(n)||(r=$,n=this.getResource(A,b,$,e))}))})}),{res:n,usedKey:i,exactUsedKey:r,usedLng:a,usedNS:o}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,e,n){var r;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(r=this.i18nFormat)!=null&&r.getResource?this.i18nFormat.getResource(t,e,n,i):this.resourceStore.getResource(t,e,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!x(t.replace),i=n?t.replace:t;if(n&&typeof t.count!="undefined"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!n){i={...i};for(let r of e)delete i[r]}return i}static hasDefaultValue(t){let e="defaultValue";for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e===n.substring(0,e.length)&&t[n]!==void 0)return!0;return!1}},at=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ie.create("languageUtils")}getScriptPartFromCode(t){if(t=it(t),!t||t.indexOf("-")<0)return null;let e=t.split("-");return e.length===2||(e.pop(),e[e.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(e.join("-"))}getLanguagePartFromCode(t){if(t=it(t),!t||t.indexOf("-")<0)return t;let e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if(x(t)&&t.indexOf("-")>-1){let e;try{e=Intl.getCanonicalLocales(t)[0]}catch(n){}return e&&this.options.lowerCaseLng&&(e=e.toLowerCase()),e||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(n=>{if(e)return;let i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(e=i)}),!e&&this.options.supportedLngs&&t.forEach(n=>{if(e)return;let i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return e=i;e=this.options.supportedLngs.find(r=>{if(r===i)return r;if(!(r.indexOf("-")<0&&i.indexOf("-")<0)&&(r.indexOf("-")>0&&i.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===i||r.indexOf(i)===0&&i.length>1))return r})}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if(typeof t=="function"&&(t=t(e)),x(t)&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}toResolveHierarchy(t,e){let n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),i=[],r=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return x(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(t))):x(t)&&r(this.formatLanguageCode(t)),n.forEach(a=>{i.indexOf(a)<0&&r(this.formatLanguageCode(a))}),i}},On={zero:0,one:1,two:2,few:3,many:4,other:5},Fn={select:c=>c===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})},Gt=class{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=ie.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,e){this.rules[t]=e}clearCache(){this.pluralRulesCache={}}getRule(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=it(t==="dev"?"en":t),i=e.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:n,type:i});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];let a;try{a=new Intl.PluralRules(n,{type:i})}catch(o){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Fn;if(!t.match(/-|_/))return Fn;let s=this.languageUtils.getLanguagePartFromCode(t);a=this.getRule(s,e)}return this.pluralRulesCache[r]=a,a}needsPlural(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,e);return n||(n=this.getRule("dev",e)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(i=>`${e}${i}`)}getSuffixes(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,e);return n||(n=this.getRule("dev",e)),n?n.resolvedOptions().pluralCategories.sort((i,r)=>On[i]-On[r]).map(i=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(t,n);return i?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(e)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",e,n))}},zn=function(c,t,e){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,r=Na(c,t,e);return!r&&i&&x(e)&&(r=Ut(c,e,n),r===void 0&&(r=Ut(t,e,n))),r},Vt=c=>c.replace(/\$/g,"$$$$"),Kt=class{constructor(){var e;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ie.create("interpolator"),this.options=t,this.format=((e=t==null?void 0:t.interpolation)==null?void 0:e.format)||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});let{escape:e,escapeValue:n,useRawValueToEscape:i,prefix:r,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:l,unescapeSuffix:d,unescapePrefix:h,nestingPrefix:p,nestingPrefixEscaped:g,nestingSuffix:m,nestingSuffixEscaped:f,nestingOptionsSeparator:b,maxReplaces:C,alwaysFormat:k}=t.interpolation;this.escape=e!==void 0?e:Ha,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=r?be(r):a||"{{",this.suffix=o?be(o):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=d?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=p?be(p):g||be("$t("),this.nestingSuffix=m?be(m):f||be(")"),this.nestingOptionsSeparator=b||",",this.maxReplaces=C||1e3,this.alwaysFormat=k!==void 0?k:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let t=(e,n)=>(e==null?void 0:e.source)===n?(e.lastIndex=0,e):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,n,i){var g;let r,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=m=>{if(m.indexOf(this.formatSeparator)<0){let k=zn(e,s,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(k,void 0,n,{...i,...e,interpolationkey:m}):k}let f=m.split(this.formatSeparator),b=f.shift().trim(),C=f.join(this.formatSeparator).trim();return this.format(zn(e,s,b,this.options.keySeparator,this.options.ignoreJSONStructure),C,n,{...i,...e,interpolationkey:b})};this.resetRegExp();let d=(i==null?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler,h=((g=i==null?void 0:i.interpolation)==null?void 0:g.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>Vt(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?Vt(this.escape(m)):Vt(m)}].forEach(m=>{for(o=0;r=m.regex.exec(t);){let f=r[1].trim();if(a=l(f),a===void 0)if(typeof d=="function"){let C=d(t,r,i);a=x(C)?C:""}else if(i&&Object.prototype.hasOwnProperty.call(i,f))a="";else if(h){a=r[0];continue}else this.logger.warn(`missed to pass in variable ${f} for interpolating ${t}`),a="";else!x(a)&&!this.useRawValueToEscape&&(a=An(a));let b=m.safeValue(a);if(t=t.replace(r[0],b),h?(m.regex.lastIndex+=a.length,m.regex.lastIndex-=r[0].length):m.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),t}nest(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,r,a,o=(s,l)=>{var f;let d=this.nestingOptionsSeparator;if(s.indexOf(d)<0)return s;let h=s.split(new RegExp(`${d}[ ]*{`)),p=`{${h[1]}`;s=h[0],p=this.interpolate(p,a);let g=p.match(/'/g),m=p.match(/"/g);(((f=g==null?void 0:g.length)!=null?f:0)%2===0&&!m||m.length%2!==0)&&(p=p.replace(/'/g,'"'));try{a=JSON.parse(p),l&&(a={...l,...a})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${s}`,b),`${s}${d}${p}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,s};for(;i=this.nestingRegexp.exec(t);){let s=[];a={...n},a=a.replace&&!x(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let l=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){let d=i[1].split(this.formatSeparator).map(h=>h.trim());i[1]=d.shift(),s=d,l=!0}if(r=e(o.call(this,i[1].trim(),a),a),r&&i[0]===t&&!x(r))return r;x(r)||(r=An(r)),r||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),r=""),l&&(r=s.reduce((d,h)=>this.format(d,h,n.lng,{...n,interpolationkey:i[1].trim()}),r.trim())),t=t.replace(i[0],r),this.regexp.lastIndex=0}return t}},Ga=c=>{let t=c.toLowerCase().trim(),e={};if(c.indexOf("(")>-1){let n=c.split("(");t=n[0].toLowerCase().trim();let i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?e.currency||(e.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?e.range||(e.range=i.trim()):i.split(";").forEach(a=>{if(a){let[o,...s]=a.split(":"),l=s.join(":").trim().replace(/^'+|'+$/g,""),d=o.trim();e[d]||(e[d]=l),l==="false"&&(e[d]=!1),l==="true"&&(e[d]=!0),isNaN(l)||(e[d]=parseInt(l,10))}})}return{formatName:t,formatOptions:e}},we=c=>{let t={};return(e,n,i)=>{let r=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(r={...r,[i.interpolationkey]:void 0});let a=n+JSON.stringify(r),o=t[a];return o||(o=c(it(n),i),t[a]=o),o(e)}},Jt=class{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ie.create("formatter"),this.options=t,this.formats={number:we((e,n)=>{let i=new Intl.NumberFormat(e,{...n});return r=>i.format(r)}),currency:we((e,n)=>{let i=new Intl.NumberFormat(e,{...n,style:"currency"});return r=>i.format(r)}),datetime:we((e,n)=>{let i=new Intl.DateTimeFormat(e,{...n});return r=>i.format(r)}),relativetime:we((e,n)=>{let i=new Intl.RelativeTimeFormat(e,{...n});return r=>i.format(r,n.range||"day")}),list:we((e,n)=>{let i=new Intl.ListFormat(e,{...n});return r=>i.format(r)})},this.init(t)}init(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=e.interpolation.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=we(e)}format(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=e.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&r[0].indexOf(")")<0&&r.find(o=>o.indexOf(")")>-1)){let o=r.findIndex(s=>s.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,o)].join(this.formatSeparator)}return r.reduce((o,s)=>{var h;let{formatName:l,formatOptions:d}=Ga(s);if(this.formats[l]){let p=o;try{let g=((h=i==null?void 0:i.formatParams)==null?void 0:h[i.interpolationkey])||{},m=g.locale||g.lng||i.locale||i.lng||n;p=this.formats[l](o,m,{...d,...i,...g})}catch(g){this.logger.warn(g)}return p}else this.logger.warn(`there was no format function for ${l}`);return o},t)}},Ka=(c,t)=>{c.pending[t]!==void 0&&(delete c.pending[t],c.pendingCount--)},Zt=class extends ye{constructor(t,e,n){var r,a;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=ie.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],(a=(r=this.backend)==null?void 0:r.init)==null||a.call(r,n,i.backend,i)}queueLoad(t,e,n,i){let r={},a={},o={},s={};return t.forEach(l=>{let d=!0;e.forEach(h=>{let p=`${l}|${h}`;!n.reload&&this.store.hasResourceBundle(l,h)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?a[p]===void 0&&(a[p]=!0):(this.state[p]=1,d=!1,a[p]===void 0&&(a[p]=!0),r[p]===void 0&&(r[p]=!0),s[h]===void 0&&(s[h]=!0)))}),d||(o[l]=!0)}),(Object.keys(r).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(r),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(t,e,n){let i=t.split("|"),r=i[0],a=i[1];e&&this.emit("failedLoading",r,a,e),!e&&n&&this.store.addResourceBundle(r,a,n,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2,e&&n&&(this.state[t]=0);let o={};this.queue.forEach(s=>{Ba(s.loaded,[r],a),Ka(s,t),e&&s.errors.push(e),s.pendingCount===0&&!s.done&&(Object.keys(s.loaded).forEach(l=>{o[l]||(o[l]={});let d=s.loaded[l];d.length&&d.forEach(h=>{o[l][h]===void 0&&(o[l][h]=!0)})}),s.done=!0,s.errors.length?s.callback(s.errors):s.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(s=>!s.done)}read(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:e,fcName:n,tried:i,wait:r,callback:a});return}this.readingCalls++;let o=(l,d)=>{if(this.readingCalls--,this.waitingReads.length>0){let h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(l&&d&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,e,n,i+1,r*2,a)},r);return}a(l,d)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let l=s(t,e);l&&typeof l.then=="function"?l.then(d=>o(null,d)).catch(o):o(null,l)}catch(l){o(l)}return}return s(t,e,o)}prepareLoading(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();x(t)&&(t=this.languageUtils.toResolveHierarchy(t)),x(e)&&(e=[e]);let r=this.queueLoad(t,e,n,i);if(!r.toLoad.length)return r.pending.length||i(),null;r.toLoad.forEach(a=>{this.loadOne(a)})}load(t,e,n){this.prepareLoading(t,e,{},n)}reload(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}loadOne(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=t.split("|"),i=n[0],r=n[1];this.read(i,r,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${e}loading namespace ${r} for language ${i} failed`,a),!a&&o&&this.logger.log(`${e}loaded namespace ${r} for language ${i}`,o),this.loaded(t,a,o)})}saveMissing(t,e,n,i,r){var s,l,d,h,p;let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((l=(s=this.services)==null?void 0:s.utils)!=null&&l.hasLoadedNamespace&&!((h=(d=this.services)==null?void 0:d.utils)!=null&&h.hasLoadedNamespace(e))){this.logger.warn(`did not save key "${n}" as the namespace "${e}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((p=this.backend)!=null&&p.create){let g={...a,isUpdate:r},m=this.backend.create.bind(this.backend);if(m.length<6)try{let f;m.length===5?f=m(t,e,n,i,g):f=m(t,e,n,i),f&&typeof f.then=="function"?f.then(b=>o(null,b)).catch(o):o(null,f)}catch(f){o(f)}else m(t,e,n,i,o,g)}!t||!t[0]||this.store.addResource(t[0],e,n,i)}}},Bn=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:c=>{let t={};if(typeof c[1]=="object"&&(t=c[1]),x(c[1])&&(t.defaultValue=c[1]),x(c[2])&&(t.tDescription=c[2]),typeof c[2]=="object"||typeof c[3]=="object"){let e=c[3]||c[2];Object.keys(e).forEach(n=>{t[n]=e[n]})}return t},interpolation:{escapeValue:!0,format:c=>c,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Nn=c=>{var t,e;return x(c.ns)&&(c.ns=[c.ns]),x(c.fallbackLng)&&(c.fallbackLng=[c.fallbackLng]),x(c.fallbackNS)&&(c.fallbackNS=[c.fallbackNS]),((e=(t=c.supportedLngs)==null?void 0:t.indexOf)==null?void 0:e.call(t,"cimode"))<0&&(c.supportedLngs=c.supportedLngs.concat(["cimode"])),typeof c.initImmediate=="boolean"&&(c.initAsync=c.initImmediate),c},tt=()=>{},Ja=c=>{Object.getOwnPropertyNames(Object.getPrototypeOf(c)).forEach(e=>{typeof c[e]=="function"&&(c[e]=c[e].bind(c))})},le=class extends ye{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Nn(t),this.services={},this.logger=ie,this.modules={external:[]},Ja(this),e&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),e.defaultNS==null&&e.ns&&(x(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let i=Bn();this.options={...i,...this.options,...Nn(e)},this.options.interpolation={...i.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator);let r=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?ie.init(r(this.modules.logger),this.options):ie.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=Jt;let h=new at(this.options);this.store=new rt(this.options.resources,this.options);let p=this.services;p.logger=ie,p.resourceStore=this.store,p.languageUtils=h,p.pluralResolver=new Gt(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(p.formatter=r(d),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Kt(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new Zt(r(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(g){for(var m=arguments.length,f=new Array(m>1?m-1:0),b=1;b<m;b++)f[b-1]=arguments[b];t.emit(g,...f)}),this.modules.languageDetector&&(p.languageDetector=r(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=r(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new ke(this.services,this.options),this.translator.on("*",function(g){for(var m=arguments.length,f=new Array(m>1?m-1:0),b=1;b<m;b++)f[b-1]=arguments[b];t.emit(g,...f)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,n||(n=tt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});let s=Re(),l=()=>{let d=(h,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(p),n(h,p)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),s}loadResources(t){var r,a;let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tt,i=x(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();let o=[],s=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(h=>{h!=="cimode"&&o.indexOf(h)<0&&o.push(h)})};i?s(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>s(d)),(a=(r=this.options.preload)==null?void 0:r.forEach)==null||a.call(r,l=>s(l)),this.services.backendConnector.load(o,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(l)})}else n(null)}reloadResources(t,e,n){let i=Re();return typeof t=="function"&&(n=t,t=void 0),typeof e=="function"&&(n=e,e=void 0),t||(t=this.languages),e||(e=this.options.ns),n||(n=tt),this.services.backendConnector.reload(t,e,r=>{i.resolve(),n(r)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Hn.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let e=0;e<this.languages.length;e++){let n=this.languages[e];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,e){var n=this;this.isLanguageChangingTo=t;let i=Re();this.emit("languageChanging",t);let r=s=>{this.language=s,this.languages=this.services.languageUtils.toResolveHierarchy(s),this.resolvedLanguage=void 0,this.setResolvedLanguage(s)},a=(s,l)=>{l?(r(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),e&&e(s,function(){return n.t(...arguments)})},o=s=>{var d,h;!t&&!s&&this.services.languageDetector&&(s=[]);let l=x(s)?s:this.services.languageUtils.getBestMatchFromCodes(s);l&&(this.language||r(l),this.translator.language||this.translator.changeLanguage(l),(h=(d=this.services.languageDetector)==null?void 0:d.cacheUserLanguage)==null||h.call(d,l)),this.loadResources(l,p=>{a(p,l)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(t),i}getFixedT(t,e,n){var i=this;let r=function(a,o){let s;if(typeof o!="object"){for(var l=arguments.length,d=new Array(l>2?l-2:0),h=2;h<l;h++)d[h-2]=arguments[h];s=i.options.overloadTranslationOptionHandler([a,o].concat(d))}else s={...o};s.lng=s.lng||r.lng,s.lngs=s.lngs||r.lngs,s.ns=s.ns||r.ns,s.keyPrefix!==""&&(s.keyPrefix=s.keyPrefix||n||r.keyPrefix);let p=i.options.keySeparator||".",g;return s.keyPrefix&&Array.isArray(a)?g=a.map(m=>`${s.keyPrefix}${p}${m}`):g=s.keyPrefix?`${s.keyPrefix}${p}${a}`:a,i.t(g,s)};return x(t)?r.lng=t:r.lngs=t,r.ns=e,r.keyPrefix=n,r}t(){var i;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(i=this.translator)==null?void 0:i.translate(...e)}exists(){var i;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(i=this.translator)==null?void 0:i.exists(...e)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=e.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;let a=(o,s)=>{let l=this.services.backendConnector.state[`${o}|${s}`];return l===-1||l===0||l===2};if(e.precheck){let o=e.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,t)&&(!i||a(r,t)))}loadNamespaces(t,e){let n=Re();return this.options.ns?(x(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),e&&e(i)}),n):(e&&e(),Promise.resolve())}loadLanguages(t,e){let n=Re();x(t)&&(t=[t]);let i=this.options.preload||[],r=t.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return r.length?(this.options.preload=i.concat(r),this.loadResources(a=>{n.resolve(),e&&e(a)}),n):(e&&e(),Promise.resolve())}dir(t){var i,r;if(t||(t=this.resolvedLanguage||(((i=this.languages)==null?void 0:i.length)>0?this.languages[0]:this.language)),!t)return"rtl";let e=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((r=this.services)==null?void 0:r.languageUtils)||new at(Bn());return e.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new le(t,e)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tt,n=t.forkResourceStore;n&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},r=new le(i);if((t.debug!==void 0||t.prefix!==void 0)&&(r.logger=r.logger.clone(t)),["store","services","language"].forEach(o=>{r[o]=this[o]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},n){let o=Object.keys(this.store.data).reduce((s,l)=>(s[l]={...this.store.data[l]},Object.keys(s[l]).reduce((d,h)=>(d[h]={...s[l][h]},d),{})),{});r.store=new rt(o,i),r.services.resourceStore=r.store}return r.translator=new ke(r.services,i),r.translator.on("*",function(o){for(var s=arguments.length,l=new Array(s>1?s-1:0),d=1;d<s;d++)l[d-1]=arguments[d];r.emit(o,...l)}),r.init(i,e),r.translator.options=i,r.translator.backendConnector.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},O=le.createInstance();O.createInstance=le.createInstance;el=O.createInstance,tl=O.dir,nl=O.init,il=O.loadResources,rl=O.reloadResources,al=O.use,ol=O.changeLanguage,sl=O.getFixedT,ll=O.t,cl=O.exists,dl=O.setDefaultNamespace,pl=O.hasLoadedNamespace,hl=O.loadNamespaces,ul=O.loadLanguages});var Wn,Vn=v(()=>{Wn={assets:{draft:"Draft",image:"Image","invalid-draft":"Invalid draft: missing account name or note path.",news:"News",video:"Video",voice:"Voice"},main:{"no-wechat-mp-account-selected":"No WeChat MP account selected.","please-check-you-appid-and-appsecret":"Please check your AppID and AppSecret.","open-previewer":"Article render previewer","fetch-wechat-profile":"Fetching WeChat profile","insert-mpcard":"Insert official account card","mpcard-not-configured":"No official account card configured. Paste the HTML in publish config first."},modals:{"be-careful":"Caution!",cancel:"Cancel",caution:"Caution!",confirm:"Confirm",delete:{action:"To proceed with deletion, click below.",message:"Are you sure you want to delete this item?",title:"Confirm Delete",warning:"This action is permanent and cannot be undone."},enter:"Enter",escape:"Escape",mpcard:{empty:"Please paste official account card content.",hint:"Copy the official account card code block from WeChat backend and paste it here.",insert:"Insert",placeholder:"Example:\n```mpcard\nid: gh_xxx\nheadimg: https://...\nnickname: Official Account\nsignature: Account description\n```",title:"Insert official account card"},ok:"OK",publish:{failed:"Publication failed",message:"Are you sure you want to publish this article?",success:"Published successfully",title:"Confirm publish",warning:"Publishing outside of WeChat MP may not be as efficient and some features might not work as expected (e.g., tags, pushing to public accounts)."},"publish-config":{"card-tab":"Official account card","options-tab":"Article options","mpcard-desc":"Paste the HTML code copied after inserting an official account card in WeChat editor.","copy-script":"Copy extract script","script-copied":"Script copied to clipboard.","mpcard-input":"Card HTML","mpcard-input-desc":"Paste <mp-common-profile> or a <section> that contains it.","mpcard-empty":"No official account card configured.","save-mpcard":"Parse and save","clear-mpcard":"Clear card","no-account":"No official account selected.","invalid-mpcard":"Invalid card content or missing data-id.","mpcard-saved":"Official account card saved.","no-active-file":"No active Markdown file.",title:"Title",author:"Author",digest:"Digest","source-url":"Source URL","open-comment":"Enable comments","only-fans":"Fans only comments","cover-empty":"Cover image not set."},space:"Space"},render:{"admonition-failed":"<section>Admonition rendering failed</section>","callout-failed":"<span>Callout rendering failed</span>","charts-failed":"<section>Charts rendering failed</section>","excalidraw-failed":"Excalidraw rendering failed","faild-canvas-context":"Failed to get canvas context.","failed-to-convert-canvas-to-blob":"Failed to convert canvas to Blob.","file-not-found":"File not found: {0}","mermaid-failed":"<section>Mermaid rendering failed</section>","pdf-crop-failed":"<span>Pdf cropping failed</span>","render-failed":"Rendering failed.","charts-plugin-not-installed":"Charts plugin not installed.","mpcard-default-name":"Official Account","mpcard-default-signature":"Account description",rendering:"Rendering...","failed-to-parse-custom-css":"Custom CSS parsing failed: {0}"},settings:{"account-info":"Account info","account-name":"Public account name","account-name-for-your-wechat-official":"WeChat official account name","add-ip-address-ipv4-0-to-wechat-mp-ip-wh":"Add IP address [{0}] to WeChat MP IP whitelist.",appid:"AppID","app-secret":"AppSecret","app-secret-for-your-wechat-official":"AppSecret for your WeChat official account","appid-for-your-wechat-official-account":"AppID for your WeChat official account","be-carefull-delete-account":"Caution! This will delete all settings and data for the account.","check-if-your-account-setting-is-correct":"Check if your account settings are correct.","click-to-connect-wechat-server":"Click to connect to WeChat server","successfully-connected-to-wechat-server":"Successfully connected to WeChat server.",fetching:"Fetching...","failed-to-connect-to-wechat-server":"Failed to connect to WeChat server.","copy-ip-address-to-clipboard":"Copy IP address to clipboard","copy-ip-to-clipboard":"Copy IP to clipboard","clipboard-not-supported":"Clipboard is not available on this platform.","create-new-account":"Create new account","custom-themes":"Custom themes","custom-themes-folder":"Custom themes folder","general-settings":"General settings","default-mpcard-biz-id":"Biz ID (data-id)","default-mpcard-biz-id-desc":"Base64 ID from the HTML.","delete-account":"Delete account","draft-previewer-wechat-id":"Draft previewer WeChat ID","draft-only-visible-for-the-wechat-user-o":"Draft visible only to the WeChat user. Requires API permission.","preview-draft-tooltip":"Send preview (API permission required)","enable-real-time-rendering":"Enable real-time rendering of markdown content","real-time-render":"Real-time Render","failed-to-get-wechat-access-token":"Failed to get WeChat access token.","if-your-device-cannot-get-static-pubic-i":"If your device cannot get a static public IP, use our center token server to get tokens. We will not misuse your AppID or AppSecret.","appid-secret-guide":"AppID and AppSecret are now available in WeChat Developer Console \u2192 Official Account \u2192 Basic Info.","appid-secret-guide-link":"Open WeChat Developer Console to get AppID / AppSecret","import-account-info":"Import Account Info","export-account-info":"Export Account Info","import-export-one2mp-account":"Import/Export Account Information","import-or-export-your-account-info-for-b":"Import or export your account info for backup and restore.","import-settings-title":"Import settings from vault","import-settings-hint":"Select a JSON settings file stored in your vault.","import-settings-placeholder":"Type or select a JSON file path","import-settings-confirm":"Import","import-settings-empty-path":"Please choose a settings file.","import-settings-file-not-found":"Settings file not found.","invalid-json-file":"Invalid JSON file.","invalid-wewerite-settings-file":"Invalid One2MP settings file.","ip-copied-to-clipboard":"IP copied to clipboard.","new-account":"New account","no-ip-address":"No IP address","public-ip-address":"Public IP address","select-account":"Select account","select-wechat-mp-account":"Select WeChat MP account","send-article-to-draft-box-successfully":"Article sent to draft box successfully.","settings-exported":"Settings exported successfully.","settings-exporting-failed":"Failed to export settings.","settings-exported-to-vault":"Settings exported to vault: {0}","settings-imported-error":"Error importing settings.","settings-imported-failed":"Failed to import settings.","settings-imported-successfully":"Settings imported successfully.","default-mpcard":"Default official account card","default-mpcard-desc":"Save a default official account card (used for right-click insert).","default-mpcard-placeholder":"Paste the official account card code block","default-mpcard-id":"Account ID","default-mpcard-id-desc":"Official account user_name.","default-mpcard-id-placeholder":"gh_xxx","default-mpcard-headimg":"Avatar URL","default-mpcard-headimg-desc":"Official account avatar link.","default-mpcard-headimg-placeholder":"https://...","default-mpcard-nickname":"Account name","default-mpcard-nickname-desc":"Official account display name.","default-mpcard-nickname-placeholder":"Account name","default-mpcard-signature":"Account description","default-mpcard-signature-desc":"Official account description.","default-mpcard-signature-placeholder":"Account description","default-mpcard-sync":"Sync account info","default-mpcard-sync-success":"Default official account card synced.","default-mpcard-sync-failed":"Failed to sync official account card.","default-mpcard-sync-partial":"Only nickname was synced. Please fill avatar/signature manually.","theme-download-overwrite":"Overwrite themes on download","theme-download-overwrite-desc":"When enabled, download will overwrite existing themes with the same name.","test-connection":"Test connection","choose-the-account-to-modify":"Choose the account to modify","the-folder-where-your-custom-themes":"Folder where your custom themes are stored.","themes-folder-path":"Themes folder path","use-center-token-server":"Use center token server","wechat-account":"WeChat account","you-should-add-this-ip-to-ip-whitelist-o":'Add this IP address to whitelist. Click the image in "account information" below to visit the WeChat MP platform.',"your-wechat-official-account":"Your WeChat official account"},views:{"article-header":{"article-title":"Article title","article-title-placeholder":"Enter article title",author:"Author","author-name":"Author name","comments-description":"Comments are closed by default.","cover-image":"Cover image","cover-image-description":"Cover image is required. Drag from vault or use an online image URL.","cover-file-not-supported":"Local file cover is not supported on mobile. Use a vault image or URL.","cover-image-mobile-button":"Choose/upload cover","cover-image-mobile-title":"Set cover image","cover-image-mobile-vault":"Select from vault","cover-image-mobile-vault-desc":"Choose an image path from the vault.","cover-image-mobile-vault-placeholder":"Type or select an image path","cover-image-mobile-url":"Use an image URL","cover-image-mobile-url-desc":"Enter an image URL.","cover-image-mobile-required":"Provide at least one cover image source.","cover-image-mobile-invalid":"Invalid image path. Please check and try again.","reset-cover-crop":"Reset crop",digest:"Digest","digest-text":"Enter digest text","only-fans-can-comment":"Only fans can comment","only-fans-can-comment-description":"Everyone can comment by default.","open-comments":"Open comments","testing-button":"Testing button",title:"Draft header"},"delete-draft":"Delete draft","delete-image":"Delete image","free-publish":"Free publish","no-title-article":"Article without title.","other-type-has-not-been-implemented":"Other type not implemented.","preview-draft":"Preview draft",previewer:{"article-copied-to-clipboard":"Article copied to clipboard.","open-url-not-supported":"Opening links is not supported on this platform.","article-render-failed":"Failed to render article.","article-title":"Article title","copy-article-to-clipboard":"Copy article to clipboard","publish-config":"Publish config","generate-template":"Generate WeChat template","file-not-found-path":"File not found: {0}","not-a-markdown-view":"Not a markdown view","please-set-cover-image":"Please set a cover image.","preview-draft-missing-id":"Send to draft first before previewing.","preview-draft-missing-wxid":"Set the previewer WeChat ID in Publish config first.","preview-draft-sent":"Preview message sent to WeChat.","render-article":"Render article","send-article-to-draft-box":"Send article to draft box","template-created":"WeChat template created.","template-file-created":"Template file created: one2mp-template.md","testing-button":"Testing button","to-verify-the-images-in-article":"Verify images in the article","one2mp-previewer":"O2Any previewer"},"send-mass-message":"Send mass message","theme-manager":{"default-theme":"Default theme","download-predefined-custom-themes":"Download predefined custom themes","download-started":"Theme download started. Please wait\u2026","download-themes-mobile-not-supported":"Theme download is not supported on mobile.","download-summary":"Theme download finished: {0} success, {1} failed, {2} skipped","error-downloading-theme":"Error downloading theme","error-downloading-themes":"Error downloading themes.","failed-to-fetch-themes-json-themesrespon":"Failed to fetch themes.json: {0}","total-themes-length-themes-downloaded":"Total {0} themes downloaded."}},"wechat-api":{"add-ip-address-ipv4-0-to-wechat-mp-ip-wh":"Add IP address [{0}] to WeChat MP IP whitelist.","failed-to-get-wechat-access-token":"Failed to get WeChat access token.","image-size-exceeds-10m":"Image size exceeds 10MB limit","video-size-exceeds-10m":"Video size exceeds 10MB limit","voice-size-exceeds-2m":"Voice size exceeds 2MB limit","select-an-wechat-mp-account-first":"Select a WeChat MP account first.","send-article-to-draft-box-successfully":"Article sent to draft box successfully.","uploading-material-type":"uploading material {0}"}}});var Gn,Un=v(()=>{Gn={assets:{draft:"\u8349\u7A3F",image:"\u56FE\u7247","invalid-draft":"\u65E0\u6548\u8349\u7A3F\uFF1A\u7F3A\u5C11\u8D26\u53F7\u540D\u79F0\u6216\u7B14\u8BB0\u8DEF\u5F84\u3002",news:"\u56FE\u6587\u6D88\u606F",video:"\u89C6\u9891",voice:"\u8BED\u97F3"},main:{"no-wechat-mp-account-selected":"\u672A\u9009\u62E9\u5FAE\u4FE1\u516C\u4F17\u53F7\u8D26\u53F7\u3002","please-check-you-appid-and-appsecret":"\u8BF7\u68C0\u67E5\u60A8\u7684AppID\u548CAppSecret\u3002","open-previewer":"\u6587\u7AE0\u6E32\u67D3\u9884\u89C8","fetch-wechat-profile":"\u63D0\u53D6\u516C\u4F17\u53F7\u4FE1\u606F","insert-mpcard":"\u63D2\u5165\u516C\u4F17\u53F7\u540D\u7247","mpcard-not-configured":"\u672A\u914D\u7F6E\u516C\u4F17\u53F7\u540D\u7247\uFF0C\u8BF7\u5148\u5728\u53D1\u5E03\u914D\u7F6E\u4E2D\u7C98\u8D34\u516C\u4F17\u53F7\u540D\u7247HTML\u3002"},modals:{"be-careful":"\u6CE8\u610F\uFF01",cancel:"\u53D6\u6D88",caution:"\u6CE8\u610F\uFF01",confirm:"\u786E\u8BA4",delete:{action:"\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u7EE7\u7EED\u5220\u9664\u3002",message:"\u786E\u5B9A\u8981\u5220\u9664\u6B64\u9879\u5417\uFF1F",title:"\u786E\u8BA4\u5220\u9664",warning:"\u6B64\u64CD\u4F5C\u4E0D\u53EF\u64A4\u9500\u3002"},enter:"\u56DE\u8F66",escape:"Esc\u952E",mpcard:{empty:"\u8BF7\u8F93\u5165\u516C\u4F17\u53F7\u540D\u7247\u5185\u5BB9\u3002",hint:"\u8BF7\u5728\u516C\u4F17\u53F7\u540E\u53F0\u590D\u5236\u516C\u4F17\u53F7\u540D\u7247\u7684\u4EE3\u7801\u5757\u5185\u5BB9\uFF0C\u5E76\u7C98\u8D34\u5230\u8FD9\u91CC\u3002",insert:"\u63D2\u5165",placeholder:"\u793A\u4F8B:\n```mpcard\nid: gh_xxx\nheadimg: https://...\nnickname: \u516C\u4F17\u53F7\u540D\u79F0\nsignature: \u516C\u4F17\u53F7\u4ECB\u7ECD\n```",title:"\u63D2\u5165\u516C\u4F17\u53F7\u540D\u7247"},ok:"\u786E\u5B9A",publish:{failed:"\u53D1\u5E03\u5931\u8D25",message:"\u786E\u5B9A\u8981\u53D1\u5E03\u8FD9\u7BC7\u6587\u7AE0\u5417\uFF1F",success:"\u53D1\u5E03\u6210\u529F",title:"\u786E\u8BA4\u53D1\u5E03",warning:"\u5728\u5FAE\u4FE1\u516C\u4F17\u53F7\u5E73\u53F0\u5916\u53D1\u5E03\u53EF\u80FD\u6548\u7387\u8F83\u4F4E\uFF0C\u90E8\u5206\u529F\u80FD\u53EF\u80FD\u65E0\u6CD5\u6B63\u5E38\u4F7F\u7528\uFF08\u5982\u6807\u7B7E\u3001\u63A8\u9001\u5230\u516C\u4F17\u53F7\u7B49\uFF09\u3002"},space:"\u7A7A\u683C"},"publish-config":{title:"\u6587\u7AE0\u53D1\u5E03\u914D\u7F6E","mp-card-settings":"\u516C\u4F17\u53F7\u540D\u7247\u914D\u7F6E","paste-html-guide":"\u8BF7\u4ECE\u6D4F\u89C8\u5668\u63D2\u4EF6\u6216\u516C\u4F17\u53F7\u540E\u53F0\u590D\u5236\u540D\u7247 HTML \u4EE3\u7801 (<mp-common-profile...>) \u5E76\u7C98\u8D34\u5230\u4E0B\u65B9\uFF1A","parse-and-save":"\u89E3\u6790\u5E76\u4FDD\u5B58","card-updated":"\u540D\u7247\u4FE1\u606F\u5DF2\u66F4\u65B0","parse-failed":"\u89E3\u6790\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5 HTML \u4EE3\u7801\u683C\u5F0F","manual-edit":"\u624B\u52A8\u7F16\u8F91 (\u9AD8\u7EA7)","other-settings":"\u5176\u4ED6\u53D1\u5E03\u53C2\u6570","card-tab":"\u516C\u4F17\u53F7\u540D\u7247","options-tab":"\u6587\u7AE0\u53C2\u6570","mpcard-desc":"\u8BF7\u7C98\u8D34\u516C\u4F17\u53F7\u540E\u53F0\u4E2D\u63D2\u5165\u540D\u7247\u540E\u590D\u5236\u5230\u7684 HTML \u4EE3\u7801\u3002","copy-script":"\u590D\u5236\u63D0\u53D6\u811A\u672C","script-copied":"\u811A\u672C\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F\u3002","mpcard-input":"\u540D\u7247 HTML","mpcard-input-desc":"\u7C98\u8D34 <mp-common-profile> \u6216\u5305\u542B\u5B83\u7684 <section> \u4EE3\u7801\u3002","mpcard-empty":"\u5C1A\u672A\u914D\u7F6E\u516C\u4F17\u53F7\u540D\u7247\u3002","save-mpcard":"\u89E3\u6790\u5E76\u4FDD\u5B58","clear-mpcard":"\u6E05\u7A7A\u540D\u7247","no-account":"\u672A\u9009\u62E9\u516C\u4F17\u53F7\u8D26\u53F7\u3002","invalid-mpcard":"\u540D\u7247\u5185\u5BB9\u65E0\u6548\u6216\u7F3A\u5C11 data-id\u3002","mpcard-saved":"\u516C\u4F17\u53F7\u540D\u7247\u5DF2\u4FDD\u5B58\u3002","no-active-file":"\u672A\u627E\u5230\u53EF\u7F16\u8F91\u7684 Markdown \u6587\u4EF6\u3002","field-title":"\u6807\u9898",author:"\u4F5C\u8005",digest:"\u6458\u8981","source-url":"\u539F\u6587\u94FE\u63A5","open-comment":"\u5F00\u542F\u8BC4\u8BBA","only-fans":"\u4EC5\u7C89\u4E1D\u53EF\u8BC4\u8BBA","cover-empty":"\u672A\u8BBE\u7F6E\u5C01\u9762\u56FE\u3002"},render:{"admonition-failed":"<section>Admonition\u6E32\u67D3\u5931\u8D25</section>","callout-failed":"<span>Callout\u6E32\u67D3\u5931\u8D25</span>","charts-failed":"<section>\u56FE\u8868\u6E32\u67D3\u5931\u8D25</section>","excalidraw-failed":"Excalidraw\u6E32\u67D3\u5931\u8D25","faild-canvas-context":"\u83B7\u53D6canvas\u4E0A\u4E0B\u6587\u5931\u8D25\u3002","failed-to-convert-canvas-to-blob":"\u5C06canvas\u8F6C\u6362\u4E3ABlob\u5931\u8D25\u3002","file-not-found":"\u6587\u4EF6\u672A\u627E\u5230\uFF1A{0}","mermaid-failed":"<section>Mermaid\u6E32\u67D3\u5931\u8D25</section>","pdf-crop-failed":"<span>PDF\u88C1\u526A\u5931\u8D25</span>","render-failed":"\u6E32\u67D3\u5931\u8D25\u3002","charts-plugin-not-installed":"\u56FE\u8868\u63D2\u4EF6\u672A\u5B89\u88C5\u3002","mpcard-default-name":"\u516C\u4F17\u53F7\u540D\u79F0","mpcard-default-signature":"\u516C\u4F17\u53F7\u4ECB\u7ECD",rendering:"\u6E32\u67D3\u4E2D...","failed-to-parse-custom-css":"\u5B9A\u5236\u98CE\u683C\u5B58\u5728CSS\u8BED\u6CD5\u9519\u8BEF\uFF1A{0}"},settings:{"account-info":"\u8D26\u53F7\u4FE1\u606F","account-name":"\u516C\u4F17\u53F7\u540D\u79F0","account-name-for-your-wechat-official":"\u5FAE\u4FE1\u516C\u4F17\u53F7\u540D\u79F0","add-ip-address-ipv4-0-to-wechat-mp-ip-wh":"\u5C06IP\u5730\u5740[{0}]\u6DFB\u52A0\u5230\u5FAE\u4FE1\u516C\u4F17\u53F7IP\u767D\u540D\u5355\u3002",appid:"AppID","app-secret":"AppSecret","app-secret-for-your-wechat-official":"\u5FAE\u4FE1\u516C\u4F17\u53F7AppSecret","appid-for-your-wechat-official-account":"\u5FAE\u4FE1\u516C\u4F17\u53F7AppID","be-carefull-delete-account":"\u6CE8\u610F\uFF01\u8FD9\u5C06\u5220\u9664\u8BE5\u8D26\u53F7\u7684\u6240\u6709\u8BBE\u7F6E\u548C\u6570\u636E\u3002","check-if-your-account-setting-is-correct":"\u68C0\u67E5\u8D26\u53F7\u8BBE\u7F6E\u662F\u5426\u6B63\u786E\u3002","click-to-connect-wechat-server":"\u70B9\u51FB\u8FDE\u63A5\u5FAE\u4FE1\u670D\u52A1\u5668","successfully-connected-to-wechat-server":"\u6210\u529F\u8FDE\u63A5\u5230\u5FAE\u4FE1\u670D\u52A1\u5668\u3002",fetching:"\u83B7\u53D6\u4E2D...","failed-to-connect-to-wechat-server":"\u8FDE\u63A5\u5FAE\u4FE1\u670D\u52A1\u5668\u5931\u8D25\u3002","copy-ip-address-to-clipboard":"\u590D\u5236IP\u5730\u5740\u5230\u526A\u8D34\u677F","copy-ip-to-clipboard":"\u590D\u5236IP\u5230\u526A\u8D34\u677F","clipboard-not-supported":"\u5F53\u524D\u5E73\u53F0\u4E0D\u652F\u6301\u526A\u8D34\u677F\u3002","create-new-account":"\u521B\u5EFA\u65B0\u8D26\u53F7","custom-themes":"\u81EA\u5B9A\u4E49\u4E3B\u9898","custom-themes-folder":"\u81EA\u5B9A\u4E49\u4E3B\u9898\u6587\u4EF6\u5939","theme-download-overwrite":"\u4E0B\u8F7D\u4E3B\u9898\u65F6\u8986\u76D6\u540C\u540D\u6587\u4EF6","theme-download-overwrite-desc":"\u5F00\u542F\u5219\u8986\u76D6\u5DF2\u6709\u540C\u540D\u4E3B\u9898\uFF0C\u5173\u95ED\u5219\u8DF3\u8FC7\u3002","general-settings":"\u901A\u7528\u8BBE\u7F6E","default-mpcard-biz-id":"Biz ID\uFF08data-id\uFF09","default-mpcard-biz-id-desc":"HTML \u4E2D\u7684 base64 ID\u3002","delete-account":"\u5220\u9664\u8D26\u53F7","draft-previewer-wechat-id":"\u8349\u7A3F\u9884\u89C8\u8005\u5FAE\u4FE1ID","draft-only-visible-for-the-wechat-user-o":"\u8349\u7A3F\u4EC5\u5BF9\u5FAE\u4FE1\u7528\u6237\u53EF\u89C1\uFF0C\u9700\u516C\u4F17\u53F7\u63A5\u53E3\u6743\u9650\u3002","preview-draft-tooltip":"\u53D1\u9001\u8349\u7A3F\u9884\u89C8\uFF08\u9700\u63A5\u53E3\u6743\u9650\uFF09","enable-real-time-rendering":"\u542F\u7528Markdown\u5185\u5BB9\u7684\u5B9E\u65F6\u6E32\u67D3","real-time-render":"\u5B9E\u65F6\u6E32\u67D3","failed-to-get-wechat-access-token":"\u83B7\u53D6\u5FAE\u4FE1access token\u5931\u8D25\u3002","if-your-device-cannot-get-static-pubic-i":"\u5982\u679C\u60A8\u7684\u8BBE\u5907\u65E0\u6CD5\u83B7\u53D6\u9759\u6001\u516C\u7F51IP\uFF0C\u8BF7\u4F7F\u7528\u6211\u4EEC\u7684\u4E2D\u5FC3\u4EE4\u724C\u670D\u52A1\u5668\u83B7\u53D6\u4EE4\u724C\u3002\u6211\u4EEC\u4E0D\u4F1A\u6EE5\u7528\u60A8\u7684AppID\u6216AppSecret\u3002","appid-secret-guide":"AppID \u4E0E AppSecret \u73B0\u5728\u9700\u8981\u5728\u300C\u5FAE\u4FE1\u5F00\u53D1\u8005\u5E73\u53F0-\u516C\u4F17\u53F7-\u57FA\u7840\u4FE1\u606F\u300D\u4E2D\u83B7\u53D6\u3002","appid-secret-guide-link":"\u6253\u5F00\u5FAE\u4FE1\u5F00\u53D1\u8005\u5E73\u53F0\u83B7\u53D6 AppID / AppSecret","import-account-info":"\u5BFC\u5165\u8D26\u53F7\u4FE1\u606F","export-account-info":"\u5BFC\u51FA\u8D26\u53F7\u4FE1\u606F","import-export-one2mp-account":"\u5BFC\u5165/\u5BFC\u51FA\u8D26\u53F7\u4FE1\u606F","import-or-export-your-account-info-for-b":"\u5BFC\u5165\u6216\u5BFC\u51FA\u60A8\u7684\u8D26\u53F7\u4FE1\u606F\u4EE5\u8FDB\u884C\u5907\u4EFD\u548C\u6062\u590D\u3002","import-settings-title":"\u4ECE\u4ED3\u5E93\u5BFC\u5165\u8BBE\u7F6E","import-settings-hint":"\u8BF7\u9009\u62E9\u4FDD\u5B58\u5728\u4ED3\u5E93\u4E2D\u7684 JSON \u8BBE\u7F6E\u6587\u4EF6\u3002","import-settings-placeholder":"\u8F93\u5165\u6216\u9009\u62E9 JSON \u6587\u4EF6\u8DEF\u5F84","import-settings-confirm":"\u5BFC\u5165","import-settings-empty-path":"\u8BF7\u9009\u62E9\u8BBE\u7F6E\u6587\u4EF6\u3002","import-settings-file-not-found":"\u672A\u627E\u5230\u8BBE\u7F6E\u6587\u4EF6\u3002","invalid-json-file":"\u65E0\u6548\u7684JSON\u6587\u4EF6\u3002","invalid-wewerite-settings-file":"\u65E0\u6548\u7684One2MP\u8BBE\u7F6E\u6587\u4EF6\u3002","ip-copied-to-clipboard":"IP\u5730\u5740\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F\u3002","new-account":"\u65B0\u5EFA\u8D26\u53F7","no-ip-address":"\u65E0IP\u5730\u5740","public-ip-address":"\u516C\u7F51IP\u5730\u5740","select-account":"\u9009\u62E9\u8D26\u53F7","select-wechat-mp-account":"\u9009\u62E9\u5FAE\u4FE1\u516C\u4F17\u53F7\u8D26\u53F7","send-article-to-draft-box-successfully":"\u6587\u7AE0\u6210\u529F\u53D1\u9001\u5230\u8349\u7A3F\u7BB1\u3002","settings-exported":"\u8BBE\u7F6E\u5BFC\u51FA\u6210\u529F\u3002","settings-exporting-failed":"\u8BBE\u7F6E\u5BFC\u51FA\u5931\u8D25\u3002","settings-exported-to-vault":"\u8BBE\u7F6E\u5DF2\u5BFC\u51FA\u5230\u4ED3\u5E93\uFF1A{0}","settings-imported-error":"\u8BBE\u7F6E\u5BFC\u5165\u51FA\u9519\u3002","settings-imported-failed":"\u8BBE\u7F6E\u5BFC\u5165\u5931\u8D25\u3002","settings-imported-successfully":"\u8BBE\u7F6E\u5BFC\u5165\u6210\u529F\u3002","default-mpcard":"\u9ED8\u8BA4\u516C\u4F17\u53F7\u540D\u7247","default-mpcard-desc":"\u4FDD\u5B58\u9ED8\u8BA4\u516C\u4F17\u53F7\u540D\u7247\uFF08\u53EF\u5728\u53F3\u952E\u63D2\u5165\u65F6\u81EA\u52A8\u586B\u5145\uFF09\u3002","default-mpcard-placeholder":"\u7C98\u8D34\u516C\u4F17\u53F7\u540D\u7247\u4EE3\u7801\u5757","default-mpcard-id":"\u8D26\u53F7ID","default-mpcard-id-desc":"\u516C\u4F17\u53F7\u539F\u59CBID\uFF08user_name\uFF09\u3002","default-mpcard-id-placeholder":"gh_xxx","default-mpcard-headimg":"\u5934\u50CFURL","default-mpcard-headimg-desc":"\u516C\u4F17\u53F7\u5934\u50CF\u94FE\u63A5\u3002","default-mpcard-headimg-placeholder":"https://...","default-mpcard-nickname":"\u516C\u4F17\u53F7\u540D\u79F0","default-mpcard-nickname-desc":"\u516C\u4F17\u53F7\u663E\u793A\u540D\u79F0\u3002","default-mpcard-nickname-placeholder":"\u516C\u4F17\u53F7\u540D\u79F0","default-mpcard-signature":"\u516C\u4F17\u53F7\u4ECB\u7ECD","default-mpcard-signature-desc":"\u516C\u4F17\u53F7\u7B80\u4ECB/\u7B7E\u540D\u3002","default-mpcard-signature-placeholder":"\u516C\u4F17\u53F7\u4ECB\u7ECD","default-mpcard-sync":"\u4E00\u952E\u540C\u6B65\u8D26\u53F7\u4FE1\u606F","default-mpcard-sync-success":"\u5DF2\u540C\u6B65\u9ED8\u8BA4\u516C\u4F17\u53F7\u540D\u7247\u3002","default-mpcard-sync-failed":"\u540C\u6B65\u516C\u4F17\u53F7\u540D\u7247\u5931\u8D25\u3002","default-mpcard-sync-partial":"\u4EC5\u540C\u6B65\u5230\u6635\u79F0\u4FE1\u606F\uFF0C\u8BF7\u624B\u52A8\u8865\u5145\u5934\u50CF/\u4ECB\u7ECD\u3002","test-connection":"\u6D4B\u8BD5\u8FDE\u63A5","choose-the-account-to-modify":"\u9009\u62E9\u8981\u4FEE\u6539\u7684\u8D26\u53F7","the-folder-where-your-custom-themes":"\u5B58\u50A8\u81EA\u5B9A\u4E49\u4E3B\u9898\u7684\u6587\u4EF6\u5939\u3002","themes-folder-path":"\u4E3B\u9898\u6587\u4EF6\u5939\u8DEF\u5F84","use-center-token-server":"\u4F7F\u7528\u4E2D\u5FC3\u4EE4\u724C\u670D\u52A1\u5668","wechat-account":"\u5FAE\u4FE1\u516C\u4F17\u53F7\u8D26\u53F7","you-should-add-this-ip-to-ip-whitelist-o":"\u8BF7\u5C06\u6B64IP\u6DFB\u52A0\u5230IP\u767D\u540D\u5355\u4E2D\u3002\u70B9\u51FB\u4E0B\u65B9\u8D26\u53F7\u4FE1\u606F\u4E2D\u7684\u56FE\u7247\u8BBF\u95EE\u201C\u5FAE\u4FE1\u516C\u4F17\u53F7\u5E73\u53F0\u201D\u8FDB\u884C\u8BBE\u7F6E\u3002","your-wechat-official-account":"\u60A8\u7684\u5FAE\u4FE1\u516C\u4F17\u53F7"},views:{"article-header":{"article-title":"\u6587\u7AE0\u6807\u9898","article-title-placeholder":"\u8F93\u5165\u6587\u7AE0\u6807\u9898",author:"\u4F5C\u8005","author-name":"\u4F5C\u8005\u540D\u79F0","comments-description":"\u8BC4\u8BBA\u9ED8\u8BA4\u5173\u95ED\u3002","cover-image":"\u5C01\u9762\u56FE\u7247","cover-image-description":"\u6587\u7AE0\u5FC5\u987B\u5305\u542B\u5C01\u9762\u56FE\u7247\u3002\u53EF\u4ECE\u672C\u5730\u4ED3\u5E93\u62D6\u653E\u56FE\u7247\u6216\u4F7F\u7528\u7F51\u7EDC\u56FE\u7247\u94FE\u63A5\u3002","cover-file-not-supported":"\u79FB\u52A8\u7AEF\u4E0D\u652F\u6301\u672C\u5730\u6587\u4EF6\u5C01\u9762\uFF0C\u8BF7\u4F7F\u7528\u4ED3\u5E93\u56FE\u7247\u6216\u7F51\u7EDC\u94FE\u63A5\u3002","cover-image-mobile-button":"\u9009\u62E9/\u4E0A\u4F20\u5C01\u9762","cover-image-mobile-title":"\u8BBE\u7F6E\u5C01\u9762\u56FE\u7247","cover-image-mobile-vault":"\u4ECE\u4ED3\u5E93\u9009\u62E9\u56FE\u7247","cover-image-mobile-vault-desc":"\u9009\u62E9\u4ED3\u5E93\u4E2D\u7684\u56FE\u7247\u8DEF\u5F84\u3002","cover-image-mobile-vault-placeholder":"\u8F93\u5165\u6216\u9009\u62E9\u56FE\u7247\u8DEF\u5F84","cover-image-mobile-url":"\u4F7F\u7528\u7F51\u7EDC\u56FE\u7247\u94FE\u63A5","cover-image-mobile-url-desc":"\u8F93\u5165\u56FE\u7247\u7684\u7F51\u7EDC\u94FE\u63A5\u3002","cover-image-mobile-required":"\u8BF7\u81F3\u5C11\u63D0\u4F9B\u4E00\u4E2A\u5C01\u9762\u56FE\u7247\u6765\u6E90\u3002","cover-image-mobile-invalid":"\u56FE\u7247\u8DEF\u5F84\u65E0\u6548\uFF0C\u8BF7\u68C0\u67E5\u540E\u518D\u8BD5\u3002","reset-cover-crop":"\u91CD\u7F6E\u88C1\u526A",digest:"\u6458\u8981","digest-text":"\u8F93\u5165\u6458\u8981\u6587\u672C","only-fans-can-comment":"\u4EC5\u7C89\u4E1D\u53EF\u8BC4\u8BBA","only-fans-can-comment-description":"\u9ED8\u8BA4\u6240\u6709\u4EBA\u90FD\u53EF\u8BC4\u8BBA","open-comments":"\u5F00\u542F\u8BC4\u8BBA","testing-button":"\u6D4B\u8BD5\u6309\u94AE",title:"\u6587\u7AE0\u5C5E\u6027"},"delete-draft":"\u5220\u9664\u8349\u7A3F","delete-image":"\u5220\u9664\u56FE\u7247","free-publish":"\u514D\u8D39\u53D1\u5E03","no-title-article":"\u65E0\u6807\u9898\u6587\u7AE0\u3002","other-type-has-not-been-implemented":"\u5176\u4ED6\u7C7B\u578B\u5C1A\u672A\u5B9E\u73B0\u3002","preview-draft":"\u9884\u89C8\u8349\u7A3F",previewer:{"article-copied-to-clipboard":"\u6587\u7AE0\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F\u3002","open-url-not-supported":"\u5F53\u524D\u5E73\u53F0\u4E0D\u652F\u6301\u6253\u5F00\u94FE\u63A5\u3002","article-render-failed":"\u6587\u7AE0\u6E32\u67D3\u5931\u8D25\u3002","article-title":"\u6587\u7AE0\u6807\u9898","copy-article-to-clipboard":"\u590D\u5236\u6587\u7AE0\u5230\u526A\u8D34\u677F","publish-config":"\u53D1\u5E03\u914D\u7F6E","generate-template":"\u751F\u6210\u516C\u4F17\u53F7\u6A21\u677F","file-not-found-path":"\u6587\u4EF6\u672A\u627E\u5230\uFF1A{0}","not-a-markdown-view":"\u4E0D\u662FMarkdown\u89C6\u56FE","please-set-cover-image":"\u8BF7\u8BBE\u7F6E\u5C01\u9762\u56FE\u7247\u3002","preview-draft-missing-id":"\u8BF7\u5148\u53D1\u9001\u5230\u8349\u7A3F\u7BB1\u518D\u9884\u89C8\u3002","preview-draft-missing-wxid":"\u8BF7\u5728\u53D1\u5E03\u914D\u7F6E\u4E2D\u586B\u5199\u8349\u7A3F\u9884\u89C8\u8005\u5FAE\u4FE1ID\u3002","preview-draft-sent":"\u9884\u89C8\u6D88\u606F\u5DF2\u53D1\u9001\u5230\u5FAE\u4FE1\u3002","render-article":"\u6E32\u67D3\u6587\u7AE0","send-article-to-draft-box":"\u53D1\u9001\u6587\u7AE0\u5230\u8349\u7A3F\u7BB1","template-created":"\u516C\u4F17\u53F7\u6A21\u677F\u5DF2\u751F\u6210\u3002","template-file-created":"\u5DF2\u521B\u5EFA\u6A21\u677F\u6587\u4EF6\uFF1Aone2mp-template.md","testing-button":"\u6D4B\u8BD5\u6309\u94AE","to-verify-the-images-in-article":"\u9A8C\u8BC1\u6587\u7AE0\u4E2D\u7684\u56FE\u7247","one2mp-previewer":"O2Any\u9884\u89C8\u5668"},"send-mass-message":"\u7FA4\u53D1\u6D88\u606F","theme-manager":{"default-theme":"\u9ED8\u8BA4\u4E3B\u9898","download-predefined-custom-themes":"\u4E0B\u8F7D\u5B9A\u5236\u4E3B\u9898","download-themes-mobile-not-supported":"\u79FB\u52A8\u7AEF\u6682\u4E0D\u652F\u6301\u4E3B\u9898\u4E0B\u8F7D\u3002","error-downloading-theme":"\u4E0B\u8F7D\u4E3B\u9898\u51FA\u9519","error-downloading-themes":"\u4E0B\u8F7D\u4E3B\u9898\u51FA\u9519\u3002","failed-to-fetch-themes-json-themesrespon":"\u83B7\u53D6themes.json\u5931\u8D25\uFF1A{0}","total-themes-length-themes-downloaded":"\u5171\u4E0B\u8F7D{0}\u4E2A\u4E3B\u9898\u3002","download-started":"\u5F00\u59CB\u4E0B\u8F7D\u4E3B\u9898\uFF0C\u8BF7\u7A0D\u5019\u2026","download-summary":"\u4E3B\u9898\u4E0B\u8F7D\u5B8C\u6210\uFF1A\u6210\u529F {0} \u4E2A\uFF0C\u5931\u8D25 {1} \u4E2A\uFF0C\u8DF3\u8FC7 {2} \u4E2A"}},"wechat-api":{"add-ip-address-ipv4-0-to-wechat-mp-ip-wh":"\u5C06IP\u5730\u5740[{0}]\u6DFB\u52A0\u5230\u5FAE\u4FE1\u516C\u4F17\u53F7IP\u767D\u540D\u5355\u3002","failed-to-get-wechat-access-token":"\u83B7\u53D6\u5FAE\u4FE1access token\u5931\u8D25\u3002","image-size-exceeds-10m":"\u56FE\u7247\u5927\u5C0F\u8D85\u8FC710MB\u9650\u5236","video-size-exceeds-10m":"\u89C6\u9891\u5927\u5C0F\u8D85\u8FC710MB\u9650\u5236","voice-size-exceeds-2m":"\u8BED\u97F3\u5927\u5C0F\u8D85\u8FC72MB\u9650\u5236","select-an-wechat-mp-account-first":"\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u5FAE\u4FE1\u516C\u4F17\u53F7\u8D26\u53F7\u3002","send-article-to-draft-box-successfully":"\u6587\u7AE0\u6210\u529F\u53D1\u9001\u5230\u8349\u7A3F\u7BB1\u3002","uploading-material-type":"\u4E0A\u4F20\u7D20\u6750\u7C7B\u578B\uFF1A{0}"}}});function u(c,t){let e=O.t(c);if(t!==void 0)for(let n=0;n<t.length;n++)e=e.replace(`{${n}}`,t[n]);return e}var Kn,B=v(()=>{qn();Kn=require("obsidian");Vn();Un();O.init({debug:!1,lng:Kn.moment.locale(),fallbackLng:"en",interpolation:{escapeValue:!1},resources:{en:{translation:Wn},zh:{translation:Gn}}}).catch(c=>{console.error("i18n init failed:",c)});window.$t=u});var ct,Se,Yt=v(()=>{ct=require("obsidian"),Se=class extends ct.AbstractInputSuggest{constructor(e,n,i=[]){super(e,n);this.inputEl=n;this.extensions=i}getSuggestions(e){let n=e.toLowerCase();return this.app.vault.getAllLoadedFiles().filter(r=>r instanceof ct.TFile).filter(r=>this.extensions.length&&!this.extensions.includes(r.extension)?!1:r.path.toLowerCase().includes(n))}renderSuggestion(e,n){n.setText(e.path)}selectSuggestion(e){this.inputEl.value=e.path,this.inputEl.trigger("input"),this.close()}}});var Qa,Ce,dt=v(()=>{Qa=c=>{let t=c.trim();return t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'")?t.slice(1,-1):t},Ce=c=>{if(!c.startsWith("---"))return{data:{},content:c};let t=c.indexOf(`
---`,3);if(t===-1)return{data:{},content:c};let e=c.slice(3,t).trim(),i=c.slice(t+4).replace(/^\r?\n/,""),r={};if(e)for(let a of e.split(/\r?\n/)){let o=a.match(/^([^:#]+):\s*(.*)$/);if(!o)continue;let s=o[1].trim(),l=Qa(o[2]);s&&(r[s]=l)}return{data:r,content:i}}});var Yn,Zn=v(()=>{Yn=`/* 00_one2mp.css
\u5B9A\u4E49one2mp\u7684\u57FA\u672C\u8272\u7CFB
*/
:root {
/* \u4E3B\u8272\u7CFB */
--one2mp-primary: #2c3e50;
--one2mp-secondary: #3498db;
--one2mp-accent: #e67e22;
--one2mp-primary-light: #d0e4ff;
/* \u4E2D\u6027\u8272 */
--one2mp-bg: transparent;
--one2mp-bg-alt: var(--one2mp-primary);
--one2mp-text: #333333;
--one2mp-text-color: var(--one2mp-text);
--one2mp-text-alt: #ffffff;
--one2mp-border:#999999;
/* \u72B6\u6001\u8272 */
--one2mp-success: #27ae60;
--one2mp-success: #28a745;
--one2mp-warning: #ff9800;
--one2mp-error: #e74c3c;
--one2mp-danger: #dc3545;
--one2mp-blue: #1e3a8a;
}
:root {
--one2mp-font-size: 16px;
--one2mp-line-height: 1.8;
--one2mp-text-indent: 0;
--one2mp-letter-spacing: 0;
--one2mp-word-spacing: 0;
--one2mp-text-align: left;
--one2mp-text-decoration: none;
--one2mp-border-width: 1px;
--one2mp-border-style: solid;
--one2mp-border-radius: 4px;
--one2mp-border-radius-sm: 2px;
--one2mp-border-radius-lg: 6px;
--one2mp-border-radius-xl: 8px;
}
body{
font-size: var(--one2mp-font-size);
line-height: var(--one2mp-line-height);
text-indent: var(--one2mp-text-indent);
letter-spacing: var(--one2mp-letter-spacing);
word-spacing: var(--one2mp-word-spacing);
text-align: var(--one2mp-text-align);
text-decoration: var(--one2mp-text-decoration);
border-width: var(--one2mp-border-width);
border-style: var(--one2mp-border-style);
border-radius: var(--one2mp-border-radius);
}
`});var Xn,Qn=v(()=>{Xn=`/**
* \u5B9A\u4E49\u5FAE\u4FE1\u6587\u7AE0\u7684\u9875\u9762\u7248\u5F0F\u548C\u57FA\u672C\u5B57\u4F53\u98CE\u683C\u7684\u6837\u5F0F
*/
:root {
/* page layout */
--article-max-width: none;
--article-min-width: 200px;
--article-padding: 0px;
--article-margin: 0px;
--article-background-color: var(--one2mp-bg);
--article-background-image: none;
--article-background-repeat: repeat;
--article-background-size: auto;
--article-background-position: left top;
}
.one2mp {
max-width: var(--article-max-width);
min-width: var(--article-min-width);
padding: var(--article-padding);
margin: var(--article-margin);
background-color: var(--article-background-color);
background-image: var(--article-background-image);
background-repeat: var(--article-background-repeat);
background-size: var(--article-background-size);
background-position: var(--article-background-position);
}
`});var ti,ei=v(()=>{ti=`/**
* \u5B9A\u4E49icon,image \u7684\u57FA\u672C\u6837\u5F0F
*/
:root {
/* --icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 0 1 .4 1 1v7h1l2.4-4c.3-.6 1-.7 1.4-.4.5.3.7 1 .4 1.5L16 9l5 5v1h-7v7h-1l-5-5-3.9 2.6c-.5.3-1.1.2-1.4-.3-.3-.5-.2-1.1.3-1.4L8 13l-4-5.3c-.3-.5-.2-1.2.3-1.5.5-.3 1.2-.2 1.5.3L10 9V1c0-.6.4-1 1-1z'/%3E%3C/svg%3E"); */
/* --icon-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M17.25 2.08a1.5 1.5 0 0 1 2.12 0l2.55 2.55a1.5 1.5 0 0 1 0 2.12l-2.34 2.34-4.67-4.67L17.25 2.08zM13.89 4.89l4.67 4.67L7.5 20.61H2v-5.5L13.89 4.89z'/%3E%3C/svg%3E"); */
/* --icon-clip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 3.5a5.002 5.002 0 0 1 3.536 8.536L10.828 21.244a7 7 0 0 1-9.9-9.9L12.121.15a1 1 0 1 1 1.415 1.414L2.343 12.757a5 5 0 1 0 7.07 7.071l9.207-9.207a3 3 0 1 0-4.243-4.243L5.464 16.464a1 1 0 1 1-1.414-1.414L16.5 3.5z'/%3E%3C/svg%3E"); */
/* --icon-book: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'><rect x='3' y='3' width='14' height='18' rx='2' fill='%23F5F5F5' stroke='%23BDBDBD' stroke-width='1.5'/><line x1='6' y1='6' x2='14' y2='6' stroke='%239E9E9E' stroke-width='1'/><line x1='6' y1='9' x2='14' y2='9' stroke='%239E9E9E' stroke-width='1'/><line x1='6' y1='12' x2='14' y2='12' stroke='%239E9E9E' stroke-width='1'/><path d='M17.5 4.5L19.5 6.5L9 17L6 17L6 14L17.5 4.5Z' fill='%23FFEB3B' stroke='%23FBC02D' stroke-width='1'/><path d='M6 17L6.5 18L7.5 18.5L9 17H6Z' fill='%23795548'/><circle cx='18.5' cy='5.5' r='1' fill='%23E91E63'/></svg>"); */
/* --bg-img-student: linear-gradient(transparent 29px, #ddd 30px), */
--icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 42'%3E%3Cpath fill='%23ff4444' d='M16 1C9 1 3 7 3 14c0 10 11 21 13 21s13-11 13-21c0-7-6-13-13-13zm0 20a7 7 0 1 1 0-14 7 7 0 0 1 0 14z'/%3E%3C/svg%3E");
}
`});var ii,ni=v(()=>{ii=`/**
* \u5B9A\u4E49\u5FAE\u4FE1\u5B57\u4F53\u7248\u5F0F\u6837\u5F0F
*/
:root {
/* typography */
--article-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
--article-font-weight: 400;
--article-word-break: break-word;
--article-letter-space: 0px;
--article-text-font-size: 15px;
--article-text-color: var(--one2mp-text);
--article-line-height: var(--one2mp-line-height);
--article-text-align: left;
--article-text-indent: 0;
--article-font-style: normal;
}
.one2mp {
font-family: var(--article-font-family);
font-weight: var(--article-font-weight);
word-break: var(--article-word-break);
letter-spacing: var(--article-letter-space);
color: var(--article-text-color);
font-size: var(--article-text-font-size);
line-height: var(--article-line-height);
text-align: var(--article-text-align);
text-indent: var(--article-text-indent);
font-style: var(--article-font-style);
}
`});var ai,ri=v(()=>{ai=`/**
* \u5B9A\u4E49\u5FAE\u4FE1\u6587\u7AE0\u7684\u6B63\u6587\u6837\u5F0F
*/
:root {
--paragraph-font-family: var(--article-font-family);
--paragraph-font-weight: var(--article-font-weight);
--paragraph-font-size: var(--article-text-font-size);
--paragraph-word-break: var(--article-word-break);
--paragraph-text-color: var(--article-text-color);
--paragraph-letter-space: var(--article-letter-space);
--paragraph-line-height: var(--article-line-height);
--paragraph-text-align: var(--article-text-align);
--paragraph-text-indent: var(--article-text-indent);
--paragraph-font-style: var(--article-font-style);
--paragraph-margin: var(--article-margin);
}
.one2mp > p {
font-family: var(--paragraph-font-family);
font-weight: var(--paragraph-font-weight);
font-size: var(--paragraph-font-size);
color: var(--paragraph-text-color);
word-break: var(--paragraph-word-break);
letter-spacing: var(--paragraph-letter-space);
line-height: var(--paragraph-line-height);
text-align: var(--paragraph-text-align);
text-indent: var(--paragraph-text-indent);
font-style: var(--paragraph-font-style);
margin: var(--paragraph-margin);
}
`});var si,oi=v(()=>{si=`/**
* \u5B9A\u4E49\u5FAE\u4FE1\u6587\u7AE0\u7684\u4FEE\u9970\u6027\u6587\u5B57\u7684\u98CE\u683C\uFF1A
- \u7C97\u4F53
*/
:root {
--strong-font-family: var(--article-font-family);
--strong-font-weight: 600;
--strong-font-style: bold;
--strong-font-size: var(--article-text-font-size);
--strong-line-height: var(--article-line-height);
--strong-letter-spacing: var(--article-letter-space);
--strong-text-align: var(--article-text-align);
--strong-text-indent: var(--article-text-indent);
--strong-color: var(--one2mp-primary);
}
.one2mp strong {
font-family: var(--strong-font-family);
font-weight: var(--strong-font-weight);
font-size: var(--strong-font-size);
line-height: var(--strong-line-height);
letter-spacing: var(--strong-letter-spacing);
text-align: var(--strong-text-align);
text-indent: var(--strong-text-indent);
color: var(--strong-color);
}
`});var ci,li=v(()=>{ci=`/**
* \u5B9A\u4E49\u5FAE\u4FE1\u6587\u7AE0\u7684\u4FEE\u9970\u6027\u6587\u5B57\u7684\u98CE\u683C\uFF1A
- \u659C\u4F53
-
*/
:root {
--em-font-family: var(--article-font-family);
--em-font-weight: var(--article-font-weight);
--em-font-size: var(--article-text-font-size);
--em-line-height: var(--article-line-height);
--em-letter-spacing: var(--article-letter-space);
--em-text-align: var(--article-text-align);
--em-text-indent: var(--article-text-indent);
--em-color: var(--article-text-color);
--em-font-style: italic;
}
.one2mp em {
font-family: var(--em-font-family);
font-weight: var(--em-font-weight);
font-size: var(--em-font-size);
line-height: var(--em-line-height);
letter-spacing: var(--em-letter-spacing);
text-align: var(--em-text-align);
text-indent: var(--em-text-indent);
color: var(--em-color);
font-style: var(--em-font-style);
}
`});var pi,di=v(()=>{pi=`/**
* \u5B9A\u4E49\u5FAE\u4FE1\u6587\u7AE0\u7684\u4FEE\u9970\u6027\u6587\u5B57\u7684\u98CE\u683C\uFF1A
- \u659C\u4F53
-
*/
:root {
--u-font-family: var(--article-font-family);
--u-font-weight: var(--article-font-weight);
--u-font-size: var(--article-text-font-size);
--u-line-height: var(--article-line-height);
--u-letter-spacing: var(--article-letter-space);
--u-text-align: var(--article-text-align);
--u-text-indent: var(--article-text-indent);
--u-color: var(--article-text-color);
--u-font-style: normal;
--u-text-decoration: underline;
--u-text-decoration-thickness: 1px;
--u-text-decoration-style: solid;
--u-text-decoration-color: var(--article-text-color);
--u-underline-offset: 0.2em;
}
.one2mp u {
font-family: var(--u-font-family);
font-weight: var(--u-font-weight);
font-size: var(--u-font-size);
line-height: var(--u-line-height);
letter-spacing: var(--u-letter-spacing);
text-align: var(--u-text-align);
text-indent: var(--u-text-indent);
color: var(--u-color);
font-style: var(--u-font-style);
text-decoration: var(--u-text-decoration);
text-decoration-thickness: var(--u-text-decoration-thickness);
text-decoration-style: var(--u-text-decoration-style);
text-decoration-color: var(--u-text-decoration-color);
text-underline-offset: var(--u-underline-offset)
}
`});var ui,hi=v(()=>{ui=`/**
* \u5B9A\u4E49\u5FAE\u4FE1\u6587\u7AE0\u7684\u4FEE\u9970\u6027\u6587\u5B57\u7684\u98CE\u683C\uFF1A
- \u659C\u4F53
-
*/
:root {
--del-font-family: var(--article-font-family);
--del-font-weight: var(--article-font-weight);
--del-font-size: var(--article-text-font-size);
--del-line-height: var(--article-line-height);
--del-letter-spacing: var(--article-letter-space);
--del-text-align: var(--article-text-align);
--del-text-indent: var(--article-text-indent);
--del-color: var(--article-text-color);
--del-font-style: normal;
--del-text-decoration: line-through;
--del-text-decoration-thickness: 1px;
--del-text-decoration-style: solid;
--del-text-decoration-color: var(--article-text-color);
}
.one2mp del {
font-family: var(--del-font-family);
font-weight: var(--del-font-weight);
font-size: var(--del-font-size);
line-height: var(--del-line-height);
letter-spacing: var(--del-letter-spacing);
text-align: var(--del-text-align);
text-indent: var(--del-text-indent);
color: var(--del-color);
font-style: var(--del-font-style);
text-decoration: var(--del-text-decoration);
text-decoration-thickness: var(--del-text-decoration-thickness);
text-decoration-style: var(--del-text-decoration-style);
text-decoration-color: var(--del-text-decoration-color);
}
`});var Qt,gi=v(()=>{Qt=`:root{
--codespan-color: #e5c07b;
--codespan-background-color: #282c34;
--codespan-padding: 2px 4px;
--codespan-border-radius: 4px;
--codespan-font-size: 0.9rem;
--codespan-font-family: "Fira Code", "Fira Mono", "Source Code Pro", "Roboto Mono", monospace;
--codespan-font-weight: 500;
}
.one2mp .one2mp-codespan {
color: var(--codespan-color, #e5c07b);
background-color: var(--codespan-background-color, #282c34);
padding: var(--codespan-padding, 2px);
border-radius: var(--codespan-border-radius, 4px);
font-size: var(--codespan-font-size, 0.9rem);
font-family: var(--codespan-font-family, "Fira Code", "Fira Mono", "Source Code Pro", "Roboto Mono", monospace);
font-weight: var(--codespan-font-weight, 500);
}
`});var fi,mi=v(()=>{fi=`/**
* \u5B9A\u4E49\u5FAE\u4FE1\u6587\u7AE0\u6807\u9898\u7684\u57FA\u672C\u6837\u5F0F
*/
:root {
--heading-font-family: var(--article-font-family);
--heading-font-weight: 600;
--heading-color: var(--article-text-color);
--heading-line-height: 1.5;
--heading-letter-spacing: var(--article-letter-space);
--heading-text-align: var(--article-text-align);
--heading-font-style: normal;
--heading-margin: 1rem 0;
--heading-text-decoration-style: none;
--heading-text-decoration-thickness: 0;
--heading-text-decoration-color: transparent;
--heading-radius: var(--one2mp-radius);
--heading-border-bottom-width: 0;
--heading-border-bottom-style: none;
--heading-border-bottom-color: transparent;
--heading-padding: 0;
--heading-display: flex;
--heading-tail-display: none;
--heading-tail-content: " ";
--heading-tail-shadow-color: rgb(239, 235, 233);
--heading-tail-shadow-height: 0;
--heading-tail-shadow-width: 0;
}
/* \u6807\u9898 */
.one2mp h1,
.one2mp h2,
.one2mp h3,
.one2mp h4,
.one2mp h5,
.one2mp h6 {
font-family: var(--heading-font-family);
font-weight: var(--heading-font-weight);
color: var(--heading-color);
line-height: var(--heading-line-height);
letter-spacing: var(--heading-letter-spacing);
text-align: var(--heading-text-align);
font-style: var(--heading-font-style);
margin: var(--heading-margin);
text-decoration-style: var(--heading-text-decoration-style);
text-decoration-thickness: var(--heading-text-decoration-thickness);
text-decoration-color: var(--heading-text-decoration-color);
display: var(--heading-display);
}
.one2mp .one2mp-heading-prefix {
display: none;
}
.one2mp .one2mp-heading-outbox {
display: block;
}
.one2mp .one2mp-heading-leaf {
display: block;
}
.one2mp .one2mp-heading-tail {
display: none;
}
`});var bi,vi=v(()=>{bi=`/**
h1 \u6807\u9898
*/
:root {
--h1-font-family: var(--heading-font-family);
--h1-font-weight: var(--heading-font-weight);
--h1-color: var(--heading-color);
--h1-font-size: 2.2rem;
--h1-line-height: var(--heading-line-height);
--h1-letter-spacing: var(--heading-letter-spacing);
--h1-text-align: var(--heading-text-align);
--h1-font-style: var(--heading-font-style);
--h1-text-decoration-style: var(--heading-text-decoration-style);
--h1-text-decoration-thickness: var(--heading-text-decoration-thickness);
--h1-text-decoration-color: var(--heading-text-decoration-color);
--h1-margin: var(--heading-margin);
/* --h1-bg: var(--one2mp-primary); */
--h1-bg: var(--one2mp-bg);
--h1-border-bottom-width: var(--heading-border-bottom-width);
/* --h1-border-bottom-color: var(--h1-bg); */
--h1-border-bottom-color: var(--heading-border-bottom-color);
--h1-border-bottom-style: var(--heading-border-bottom-style);
/* \u6807\u9898\u524D\u7F00 */
--h1-prefix-display: none;
--h1-prefix-color: var(--h1-color);
--h1-font-style: normal;
--h1-text-align: var(--h1-text-align);
/* \u6807\u9898\u4E3B\u4F53 */
--h1-outbox-display: block;
--h1-outbox-radius: var(--one2mp-border-radius);
--h1-outbox-padding: var(--heading-padding);
/* \u6807\u9898\u53F6\u5B50 */
--h1-leaf-display: block;
--h1-leaf-padding: var(--heading-padding);
--h1-leaf-color: var(--h1-color);
/* \u6807\u9898\u540E\u7F00 */
/* --h1-tail-display: inline-block; */
--h1-tail-display: none;
--h1-tail-content: " ";
--h1-tail-vertical-align: bottom;
--h1-tail-display: var(--heading-tail-display);
--h1-tail-content: var(--heading-tail-content);
--h1-tail-shadow-color: var(--heading-tail-shadow-color);
--h1-tail-shadow-height: var(--heading-tail-shadow-height);
--h1-tail-shadow-width: var(--heading-tail-shadow-width);
--h1-display: flex;
}
.one2mp h1 {
font-family: var(--h1-font-family);
font-weight: var(--h1-font-weight);
font-size: var(--h1-font-size);
line-height: var(--h1-line-height);
letter-spacing: var(--h1-letter-spacing);
text-align: var(--h1-text-align);
color: var(--h1-color);
font-style: var(--h1-font-style);
text-decoration-style: var(--h1-text-decoration-style);
text-decoration-thickness: var(--h1-text-decoration-thickness);
text-decoration-color: var(--h1-text-decoration-color);
margin: var(--h1-margin);
border-bottom-width: var(--h1-border-bottom-width);
border-bottom-style: var(--h1-border-bottom-style);
border-bottom-color: var(--h1-border-bottom-color);
display: var(--h1-display);
}
.one2mp h1 .one2mp-heading-prefix {
display: var(--h1-prefix-display);
color: var(--h1-prefix-color);
font-style: var(--h1-font-style);
text-align: var(--h1-text-align);
}
.one2mp h1 .one2mp-heading-outbox {
border-top-right-radius: var(--h1-outbox-radius);
border-top-left-radius: var(--h1-outbox-radius);
background-color: var(--h1-bg);
padding: var(--h1-outbox-padding);
display: block;
}
.one2mp h1 .one2mp-heading-leaf {
padding-left: var(--h1-leaf-padding);
padding-right: var(--h1-leaf-padding);
font-weight: var(--h1-font-weight);
display: var(--h1-leaf-display);
color: var(--h1-leaf-color)
}
.one2mp h1 .one2mp-heading-tail {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
display: var(--h1-tail-display);
content: var(--h1-tail-content);
vertical-align: var(--h1-tail-vertical-align);
border-bottom: var(--h1-tail-shadow-height) solid var(--h1-tail-shadow-color);
border-right: var(--h1-tail-shadow-width) solid transparent;
}
`});var xi,wi=v(()=>{xi=`/**
h2 \u6807\u9898
*/
:root {
--h2-font-family: var(--heading-font-family);
--h2-font-weight: var(--heading-font-weight);
--h2-color: var(--heading-color);
--h2-font-size: 2rem;
--h2-line-height: var(--heading-line-height);
--h2-letter-spacing: var(--heading-letter-spacing);
--h2-text-align: var(--heading-text-align);
--h2-font-style: var(--heading-font-style);
--h2-text-decoration-style: var(--heading-text-decoration-style);
--h2-text-decoration-thickness: var(--heading-text-decoration-thickness);
--h2-text-decoration-color: var(--heading-text-decoration-color);
--h2-margin: var(--heading-margin);
/* --h2-bg: var(--one2mp-primary); */
--h2-bg: var(--one2mp-bg);
--h2-border-bottom-width: var(--heading-border-bottom-width);
/* --h2-border-bottom-color: var(--h2-bg); */
--h2-border-bottom-color: var(--heading-border-bottom-color);
--h2-border-bottom-style: var(--heading-border-bottom-style);
/* \u6807\u9898\u524D\u7F00 */
--h2-prefix-display: none;
--h2-prefix-color: var(--h2-color);
--h2-font-style: normal;
--h2-text-align: var(--h2-text-align);
/* \u6807\u9898\u4E3B\u4F53 */
--h2-outbox-display: block;
--h2-outbox-radius: var(--one2mp-border-radius);
--h2-outbox-padding: var(--heading-padding);
/* \u6807\u9898\u53F6\u5B50 */
--h2-leaf-display: block;
--h2-leaf-padding: var(--heading-padding);
--h2-leaf-color: var(--h2-color);
/* \u6807\u9898\u540E\u7F00 */
/* --h2-tail-display: inline-block; */
--h2-tail-display: none;
--h2-tail-content: " ";
--h2-tail-vertical-align: bottom;
--h2-tail-display: var(--heading-tail-display);
--h2-tail-content: var(--heading-tail-content);
--h2-tail-shadow-color: var(--heading-tail-shadow-color);
--h2-tail-shadow-height: var(--heading-tail-shadow-height);
--h2-tail-shadow-width: var(--heading-tail-shadow-width);
--h2-display: flex;
}
.one2mp h2 {
font-family: var(--h2-font-family);
font-weight: var(--h2-font-weight);
font-size: var(--h2-font-size);
line-height: var(--h2-line-height);
letter-spacing: var(--h2-letter-spacing);
text-align: var(--h2-text-align);
color: var(--h2-color);
font-style: var(--h2-font-style);
text-decoration-style: var(--h2-text-decoration-style);
text-decoration-thickness: var(--h2-text-decoration-thickness);
text-decoration-color: var(--h2-text-decoration-color);
margin: var(--h2-margin);
border-bottom-width: var(--h2-border-bottom-width);
border-bottom-style: var(--h2-border-bottom-style);
border-bottom-color: var(--h2-border-bottom-color);
display: var(--h2-display);
}
.one2mp h2 .one2mp-heading-prefix {
display: var(--h2-prefix-display);
color: var(--h2-prefix-color);
font-style: var(--h2-font-style);
text-align: var(--h2-text-align);
}
.one2mp h2 .one2mp-heading-outbox {
border-top-right-radius: var(--h2-outbox-radius);
border-top-left-radius: var(--h2-outbox-radius);
background-color: var(--h2-bg);
padding: var(--h2-outbox-padding);
display: block;
}
.one2mp h2 .one2mp-heading-leaf {
padding-left: var(--h2-leaf-padding);
padding-right: var(--h2-leaf-padding);
font-weight: var(--h2-font-weight);
display: var(--h2-leaf-display);
color: var(--h2-leaf-color)
}
.one2mp h2 .one2mp-heading-tail {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
display: var(--h2-tail-display);
content: var(--h2-tail-content);
vertical-align: var(--h2-tail-vertical-align);
border-bottom: var(--h2-tail-shadow-height) solid var(--h2-tail-shadow-color);
border-right: var(--h2-tail-shadow-width) solid transparent;
}
`});var ki,yi=v(()=>{ki=`/**
h3 \u6807\u9898
*/
:root {
--h3-font-family: var(--heading-font-family);
--h3-font-weight: var(--heading-font-weight);
--h3-color: var(--heading-color);
--h3-font-size: 1.8rem;
--h3-line-height: var(--heading-line-height);
--h3-letter-spacing: var(--heading-letter-spacing);
--h3-text-align: var(--heading-text-align);
--h3-font-style: var(--heading-font-style);
--h3-text-decoration-style: var(--heading-text-decoration-style);
--h3-text-decoration-thickness: var(--heading-text-decoration-thickness);
--h3-text-decoration-color: var(--heading-text-decoration-color);
--h3-margin: var(--heading-margin);
/* --h3-bg: var(--one2mp-primary); */
--h3-bg: var(--one2mp-bg);
--h3-border-bottom-width: var(--heading-border-bottom-width);
/* --h3-border-bottom-color: var(--h3-bg); */
--h3-border-bottom-color: var(--heading-border-bottom-color);
--h3-border-bottom-style: var(--heading-border-bottom-style);
/* \u6807\u9898\u524D\u7F00 */
--h3-prefix-display: none;
--h3-prefix-color: var(--h3-color);
--h3-font-style: normal;
--h3-text-align: var(--h3-text-align);
/* \u6807\u9898\u4E3B\u4F53 */
--h3-outbox-display: block;
--h3-outbox-radius: var(--one2mp-border-radius);
--h3-outbox-padding: var(--heading-padding);
/* \u6807\u9898\u53F6\u5B50 */
--h3-leaf-display: block;
--h3-leaf-padding: var(--heading-padding);
--h3-leaf-color: var(--h3-color);
/* \u6807\u9898\u540E\u7F00 */
/* --h3-tail-display: inline-block; */
--h3-tail-display: none;
--h3-tail-content: " ";
--h3-tail-vertical-align: bottom;
--h3-tail-display: var(--heading-tail-display);
--h3-tail-content: var(--heading-tail-content);
--h3-tail-shadow-color: var(--heading-tail-shadow-color);
--h3-tail-shadow-height: var(--heading-tail-shadow-height);
--h3-tail-shadow-width: var(--heading-tail-shadow-width);
--h3-display: flex;
}
.one2mp h3 {
font-family: var(--h3-font-family);
font-weight: var(--h3-font-weight);
font-size: var(--h3-font-size);
line-height: var(--h3-line-height);
letter-spacing: var(--h3-letter-spacing);
text-align: var(--h3-text-align);
color: var(--h3-color);
font-style: var(--h3-font-style);
text-decoration-style: var(--h3-text-decoration-style);
text-decoration-thickness: var(--h3-text-decoration-thickness);
text-decoration-color: var(--h3-text-decoration-color);
margin: var(--h3-margin);
border-bottom-width: var(--h3-border-bottom-width);
border-bottom-style: var(--h3-border-bottom-style);
border-bottom-color: var(--h3-border-bottom-color);
display: var(--h3-display);
}
.one2mp h3 .one2mp-heading-prefix {
display: var(--h3-prefix-display);
color: var(--h3-prefix-color);
font-style: var(--h3-font-style);
text-align: var(--h3-text-align);
}
.one2mp h3 .one2mp-heading-outbox {
border-top-right-radius: var(--h3-outbox-radius);
border-top-left-radius: var(--h3-outbox-radius);
background-color: var(--h3-bg);
padding: var(--h3-outbox-padding);
display: block;
}
.one2mp h3 .one2mp-heading-leaf {
padding-left: var(--h3-leaf-padding);
padding-right: var(--h3-leaf-padding);
font-weight: var(--h3-font-weight);
display: var(--h3-leaf-display);
color: var(--h3-leaf-color)
}
.one2mp h3 .one2mp-heading-tail {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
display: var(--h3-tail-display);
content: var(--h3-tail-content);
vertical-align: var(--h3-tail-vertical-align);
border-bottom: var(--h3-tail-shadow-height) solid var(--h3-tail-shadow-color);
border-right: var(--h3-tail-shadow-width) solid transparent;
}
`});var Ci,Si=v(()=>{Ci=`/**
h4 \u6807\u9898
*/
:root {
--h4-font-family: var(--heading-font-family);
--h4-font-weight: var(--heading-font-weight);
--h4-color: var(--heading-color);
--h4-font-size: 1.5rem;
--h4-line-height: var(--heading-line-height);
--h4-letter-spacing: var(--heading-letter-spacing);
--h4-text-align: var(--heading-text-align);
--h4-font-style: var(--heading-font-style);
--h4-text-decoration-style: var(--heading-text-decoration-style);
--h4-text-decoration-thickness: var(--heading-text-decoration-thickness);
--h4-text-decoration-color: var(--heading-text-decoration-color);
--h4-margin: var(--heading-margin);
/* --h4-bg: var(--one2mp-primary); */
--h4-bg: var(--one2mp-bg);
--h4-border-bottom-width: var(--heading-border-bottom-width);
/* --h4-border-bottom-color: var(--h4-bg); */
--h4-border-bottom-color: var(--heading-border-bottom-color);
--h4-border-bottom-style: var(--heading-border-bottom-style);
/* \u6807\u9898\u524D\u7F00 */
--h4-prefix-display: none;
--h4-prefix-color: var(--h4-color);
--h4-font-style: normal;
--h4-text-align: var(--h4-text-align);
/* \u6807\u9898\u4E3B\u4F53 */
--h4-outbox-display: block;
--h4-outbox-radius: var(--one2mp-border-radius);
--h4-outbox-padding: var(--heading-padding);
/* \u6807\u9898\u53F6\u5B50 */
--h4-leaf-display: block;
--h4-leaf-padding: var(--heading-padding);
--h4-leaf-color: var(--h4-color);
/* \u6807\u9898\u540E\u7F00 */
/* --h4-tail-display: inline-block; */
--h4-tail-display: none;
--h4-tail-content: " ";
--h4-tail-vertical-align: bottom;
--h4-tail-display: var(--heading-tail-display);
--h4-tail-content: var(--heading-tail-content);
--h4-tail-shadow-color: var(--heading-tail-shadow-color);
--h4-tail-shadow-height: var(--heading-tail-shadow-height);
--h4-tail-shadow-width: var(--heading-tail-shadow-width);
--h4-display: flex;
}
.one2mp h4 {
font-family: var(--h4-font-family);
font-weight: var(--h4-font-weight);
font-size: var(--h4-font-size);
line-height: var(--h4-line-height);
letter-spacing: var(--h4-letter-spacing);
text-align: var(--h4-text-align);
color: var(--h4-color);
font-style: var(--h4-font-style);
text-decoration-style: var(--h4-text-decoration-style);
text-decoration-thickness: var(--h4-text-decoration-thickness);
text-decoration-color: var(--h4-text-decoration-color);
margin: var(--h4-margin);
border-bottom-width: var(--h4-border-bottom-width);
border-bottom-style: var(--h4-border-bottom-style);
border-bottom-color: var(--h4-border-bottom-color);
display: var(--h4-display);
}
.one2mp h4 .one2mp-heading-prefix {
display: var(--h4-prefix-display);
color: var(--h4-prefix-color);
font-style: var(--h4-font-style);
text-align: var(--h4-text-align);
}
.one2mp h4 .one2mp-heading-outbox {
border-top-right-radius: var(--h4-outbox-radius);
border-top-left-radius: var(--h4-outbox-radius);
background-color: var(--h4-bg);
padding: var(--h4-outbox-padding);
display: block;
}
.one2mp h4 .one2mp-heading-leaf {
padding-left: var(--h4-leaf-padding);
padding-right: var(--h4-leaf-padding);
font-weight: var(--h4-font-weight);
display: var(--h4-leaf-display);
color: var(--h4-leaf-color)
}
.one2mp h4 .one2mp-heading-tail {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
display: var(--h4-tail-display);
content: var(--h4-tail-content);
vertical-align: var(--h4-tail-vertical-align);
border-bottom: var(--h4-tail-shadow-height) solid var(--h4-tail-shadow-color);
border-right: var(--h4-tail-shadow-width) solid transparent;
}
`});var Ei,Ti=v(()=>{Ei=`/**
h5 \u6807\u9898
*/
:root {
--h5-font-family: var(--heading-font-family);
--h5-font-weight: var(--heading-font-weight);
--h5-color: var(--heading-color);
--h5-font-size: 1.2rem;
--h5-line-height: var(--heading-line-height);
--h5-letter-spacing: var(--heading-letter-spacing);
--h5-text-align: var(--heading-text-align);
--h5-font-style: var(--heading-font-style);
--h5-text-decoration-style: var(--heading-text-decoration-style);
--h5-text-decoration-thickness: var(--heading-text-decoration-thickness);
--h5-text-decoration-color: var(--heading-text-decoration-color);
--h5-margin: var(--heading-margin);
/* --h5-bg: var(--one2mp-primary); */
--h5-bg: var(--one2mp-bg);
--h5-border-bottom-width: var(--heading-border-bottom-width);
/* --h5-border-bottom-color: var(--h5-bg); */
--h5-border-bottom-color: var(--heading-border-bottom-color);
--h5-border-bottom-style: var(--heading-border-bottom-style);
/* \u6807\u9898\u524D\u7F00 */
--h5-prefix-display: none;
--h5-prefix-color: var(--h5-color);
--h5-font-style: normal;
--h5-text-align: var(--h5-text-align);
/* \u6807\u9898\u4E3B\u4F53 */
--h5-outbox-display: block;
--h5-outbox-radius: var(--one2mp-border-radius);
--h5-outbox-padding: var(--heading-padding);
/* \u6807\u9898\u53F6\u5B50 */
--h5-leaf-display: block;
--h5-leaf-padding: var(--heading-padding);
--h5-leaf-color: var(--h5-color);
/* \u6807\u9898\u540E\u7F00 */
/* --h5-tail-display: inline-block; */
--h5-tail-display: none;
--h5-tail-content: " ";
--h5-tail-vertical-align: bottom;
--h5-tail-display: var(--heading-tail-display);
--h5-tail-content: var(--heading-tail-content);
--h5-tail-shadow-color: var(--heading-tail-shadow-color);
--h5-tail-shadow-height: var(--heading-tail-shadow-height);
--h5-tail-shadow-width: var(--heading-tail-shadow-width);
--h5-display: flex;
}
.one2mp h5 {
font-family: var(--h5-font-family);
font-weight: var(--h5-font-weight);
font-size: var(--h5-font-size);
line-height: var(--h5-line-height);
letter-spacing: var(--h5-letter-spacing);
text-align: var(--h5-text-align);
color: var(--h5-color);
font-style: var(--h5-font-style);
text-decoration-style: var(--h5-text-decoration-style);
text-decoration-thickness: var(--h5-text-decoration-thickness);
text-decoration-color: var(--h5-text-decoration-color);
margin: var(--h5-margin);
border-bottom-width: var(--h5-border-bottom-width);
border-bottom-style: var(--h5-border-bottom-style);
border-bottom-color: var(--h5-border-bottom-color);
display: var(--h5-display);
}
.one2mp h5 .one2mp-heading-prefix {
display: var(--h5-prefix-display);
color: var(--h5-prefix-color);
font-style: var(--h5-font-style);
text-align: var(--h5-text-align);
}
.one2mp h5 .one2mp-heading-outbox {
border-top-right-radius: var(--h5-outbox-radius);
border-top-left-radius: var(--h5-outbox-radius);
background-color: var(--h5-bg);
padding: var(--h5-outbox-padding);
display: block;
}
.one2mp h5 .one2mp-heading-leaf {
padding-left: var(--h5-leaf-padding);
padding-right: var(--h5-leaf-padding);
font-weight: var(--h5-font-weight);
display: var(--h5-leaf-display);
color: var(--h5-leaf-color)
}
.one2mp h5 .one2mp-heading-tail {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
display: var(--h5-tail-display);
content: var(--h5-tail-content);
vertical-align: var(--h5-tail-vertical-align);
border-bottom: var(--h5-tail-shadow-height) solid var(--h5-tail-shadow-color);
border-right: var(--h5-tail-shadow-width) solid transparent;
}
`});var Pi,Mi=v(()=>{Pi=`/**
h6 \u6807\u9898
*/
:root {
--h6-font-family: var(--heading-font-family);
--h6-font-weight: var(--heading-font-weight);
--h6-color: var(--heading-color);
--h6-font-size: 1rem;
--h6-line-height: var(--heading-line-height);
--h6-letter-spacing: var(--heading-letter-spacing);
--h6-text-align: var(--heading-text-align);
--h6-font-style: var(--heading-font-style);
--h6-text-decoration-style: var(--heading-text-decoration-style);
--h6-text-decoration-thickness: var(--heading-text-decoration-thickness);
--h6-text-decoration-color: var(--heading-text-decoration-color);
--h6-margin: var(--heading-margin);
/* --h6-bg: var(--one2mp-primary); */
--h6-bg: var(--one2mp-bg);
--h6-border-bottom-width: var(--heading-border-bottom-width);
/* --h6-border-bottom-color: var(--h6-bg); */
--h6-border-bottom-color: var(--heading-border-bottom-color);
--h6-border-bottom-style: var(--heading-border-bottom-style);
/* \u6807\u9898\u524D\u7F00 */
--h6-prefix-display: none;
--h6-prefix-color: var(--h6-color);
--h6-font-style: normal;
--h6-text-align: var(--h6-text-align);
/* \u6807\u9898\u4E3B\u4F53 */
--h6-outbox-display: block;
--h6-outbox-radius: var(--one2mp-border-radius);
--h6-outbox-padding: var(--heading-padding);
/* \u6807\u9898\u53F6\u5B50 */
--h6-leaf-display: block;
--h6-leaf-padding: var(--heading-padding);
--h6-leaf-color: var(--h6-color);
/* \u6807\u9898\u540E\u7F00 */
/* --h6-tail-display: inline-block; */
--h6-tail-display: none;
--h6-tail-content: " ";
--h6-tail-vertical-align: bottom;
--h6-tail-display: var(--heading-tail-display);
--h6-tail-content: var(--heading-tail-content);
--h6-tail-shadow-color: var(--heading-tail-shadow-color);
--h6-tail-shadow-height: var(--heading-tail-shadow-height);
--h6-tail-shadow-width: var(--heading-tail-shadow-width);
--h6-display: flex;
}
.one2mp h6 {
font-family: var(--h6-font-family);
font-weight: var(--h6-font-weight);
font-size: var(--h6-font-size);
line-height: var(--h6-line-height);
letter-spacing: var(--h6-letter-spacing);
text-align: var(--h6-text-align);
color: var(--h6-color);
font-style: var(--h6-font-style);
text-decoration-style: var(--h6-text-decoration-style);
text-decoration-thickness: var(--h6-text-decoration-thickness);
text-decoration-color: var(--h6-text-decoration-color);
margin: var(--h6-margin);
border-bottom-width: var(--h6-border-bottom-width);
border-bottom-style: var(--h6-border-bottom-style);
border-bottom-color: var(--h6-border-bottom-color);
display: var(--h6-display);
}
.one2mp h6 .one2mp-heading-prefix {
display: var(--h6-prefix-display);
color: var(--h6-prefix-color);
font-style: var(--h6-font-style);
text-align: var(--h6-text-align);
}
.one2mp h6 .one2mp-heading-outbox {
border-top-right-radius: var(--h6-outbox-radius);
border-top-left-radius: var(--h6-outbox-radius);
background-color: var(--h6-bg);
padding: var(--h6-outbox-padding);
display: block;
}
.one2mp h6 .one2mp-heading-leaf {
padding-left: var(--h6-leaf-padding);
padding-right: var(--h6-leaf-padding);
font-weight: var(--h6-font-weight);
display: var(--h6-leaf-display);
color: var(--h6-leaf-color)
}
.one2mp h6 .one2mp-heading-tail {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
display: var(--h6-tail-display);
content: var(--h6-tail-content);
vertical-align: var(--h6-tail-vertical-align);