PageSourceSearch

http://xingzuomi.org/js/filter-template.js

js xingzuomi.org collected 2026-10-08 15:33:26 UTC 17,722 bytes, 942 lines download raw bytes

1const PLEASE_SELECT = '<span class="please-select">please&nbsp;select</span>';
2
3const SRC_QUANTIFIERS = [
4  {
5    key: 'all',
6    title: 'ALL [✓] OBJECTS'
7  },
8  {
9    key: 'any-1',
10    title: 'ANY OF [✓] OBJECTS'
11  },
12  {
13    key: 'any-2',
14    title: 'ANY 2 OF [✓] OBJECTS'
15  },
16  {
17    key: 'any-3',
18    title: 'ANY 3 OF [✓] OBJECTS'
19  },
20  {
21    key: 'any-4',
22    title: 'ANY 4 OF [✓] OBJECTS'
23  },
24  {
25    key: 'any-5',
26    title: 'ANY 5 OF [✓] OBJECTS'
27  },
28  {
29    key: 'any-6',
30    title: 'ANY 6 OF [✓] OBJECTS'
31  },
32  {
33    key: 'any-7',
34    title: 'ANY 7 OF [✓] OBJECTS'
35  },
36  {
37    key: 'any-8',
38    title: 'ANY 8 OF [✓] OBJECTS'
39  },
40  {
41    key: 'any-9',
42    title: 'ANY 9 OF [✓] OBJECTS'
43  },
44  {
45    key: 'any-10',
46    title: 'ANY 10 OF [✓] OBJECTS'
47  },
48];
49
50const SRC_QUANTIFIER_DESCRIPTIONS = {
51  'all': '',
52  'any-1': '',
53  'any-2': 'any 2 of ',
54  'any-3': 'any 3 of ',
55  'any-4': 'any 4 of ',
56  'any-5': 'any 5 of ',
57  'any-6': 'any 6 of ',
58  'any-7': 'any 7 of ',
59  'any-8': 'any 8 of ',
60  'any-9': 'any 9 of ',
61  'any-10': 'any 10 of ',
62};
63
64const SRC_RELATIONSHIPS = [
65  {
66    key: 'in',
67    title: 'HAVE'
68  },
69  {
70    key: 'not-in',
71    title: 'NOT HAVE'
72  },
73];
74
75const SRC_RELATIONSHIP_DESCRIPTIONS = {
76  'in': 'have ',
77  'not-in': 'not have ',
78};
79
80const SRC_OBJECTS = [
81  {
82    key: 'planets',
83    title: 'Planets',
84    expanded: true,
85    children: [
86      {
87        key: 'sun',
88        title: 'Sun'
89      },
90      {
91        key: 'moon',
92        title: 'Moon'
93      },
94      {
95        key: 'mercury',
96        title: 'Mercury'
97      },
98      {
99        key: 'venus',
100        title: 'Venus'
101      },
102      {
103        key: 'mars',
104        title: 'Mars'
105      },
106      {
107        key: 'jupiter',
108        title: 'Jupiter'
109      },
110      {
111        key: 'saturn',
112        title: 'Saturn'
113      },
114      {
115        key: 'uranus',
116        title: 'Uranus'
117      },
118      {
119        key: 'neptune',
120        title: 'Neptune'
121      },
122      {
123        key: 'pluto',
124        title: 'Pluto'
125      },
126    ]
127  },
128  {
129    key: 'points',
130    title: 'Points',
131    expanded: true,
132    children: [
133      {
134        key: 'ascendant',
135        title: 'Ascendant'
136      },
137      {
138        key: 'medium-coeli',
139        title: 'Medium Coeli'
140      },
141      {
142        key: 'north-node',
143        title: 'North Node'
144      },
145      {
146        key: 'lilith',
147        title: 'Mean apogee (Lilith)'
148      },
149      {
150        key: 'pars-fortunae',
151        title: 'Pars Fortunae'
152      },
153    ]
154  },
155  {
156    key: 'asteroids',
157    title: 'Asteroids',
158    expanded: true,
159    children: [
160      {
161        key: 'ceres',
162        title: 'Ceres'
163      },
164      {
165        key: 'pallas',
166        title: 'Pallas'
167      },
168      {
169        key: 'juno',
170        title: 'Juno'
171      },
172      {
173        key: 'vesta',
174        title: 'Vesta'
175      },
176      {
177        key: 'chiron',
178        title: 'Chiron'
179      },
180    ]
181  },
182  {
183    key: 'dispositors',
184    title: 'Dispositors',
185    children: [
186      {
187        key: 'dispositor-of-ascendant',
188        title: 'Dispositor of Ascendant'
189      },
190      {
191        key: 'dispositor-of-medium-coeli',
192        title: 'Dispositor of Medium Coeli'
193      },
194      {
195        key: 'dispositor-of-sun',
196        title: 'Dispositor of Sun'
197      },
198      {
199        key: 'dispositor-of-moon',
200        title: 'Dispositor of Moon'
201      },
202      {
203        key: 'dispositor-of-mercury',
204        title: 'Dispositor of Mercury'
205      },
206      {
207        key: 'dispositor-of-venus',
208        title: 'Dispositor of Venus'
209      },
210      {
211        key: 'dispositor-of-mars',
212        title: 'Dispositor of Mars'
213      },
214      {
215        key: 'dispositor-of-jupiter',
216        title: 'Dispositor of Jupiter'
217      },
218      {
219        key: 'dispositor-of-saturn',
220        title: 'Dispositor of Saturn'
221      },
222      {
223        key: 'dispositor-of-uranus',
224        title: 'Dispositor of Uranus'
225      },
226      {
227        key: 'dispositor-of-neptune',
228        title: 'Dispositor of Neptune'
229      },
230      {
231        key: 'dispositor-of-pluto',
232        title: 'Dispositor of Pluto'
233      },
234    ]
235  },
236  {
237    key: 'rulers',
238    title: 'Rulers',
239    children: [
240      {
241        key: 'ruler-of-house-1',
242        title: 'Ruler of House 1'
243      },
244      {
245        key: 'ruler-of-house-2',
246        title: 'Ruler of House 2'
247      },
248      {
249        key: 'ruler-of-house-3',
250        title: 'Ruler of House 3'
251      },
252      {
253        key: 'ruler-of-house-4',
254        title: 'Ruler of House 4'
255      },
256      {
257        key: 'ruler-of-house-5',
258        title: 'Ruler of House 5'
259      },
260      {
261        key: 'ruler-of-house-6',
262        title: 'Ruler of House 6'
263      },
264      {
265        key: 'ruler-of-house-7',
266        title: 'Ruler of House 7'
267      },
268      {
269        key: 'ruler-of-house-8',
270        title: 'Ruler of House 8'
271      },
272      {
273        key: 'ruler-of-house-9',
274        title: 'Ruler of House 9'
275      },
276      {
277        key: 'ruler-of-house-10',
278        title: 'Ruler of House 10'
279      },
280      {
281        key: 'ruler-of-house-11',
282        title: 'Ruler of House 11'
283      },
284      {
285        key: 'ruler-of-house-12',
286        title: 'Ruler of House 12'
287      },
288    ]
289  },
290];
291
292const SRC_OBJECT_DESCRIPTIONS = {
293  'ascendant': 'Ascendant',
294  'medium-coeli': 'Medium Coeli',
295  'sun': 'Sun',
296  'moon': 'Moon',
297  'mercury': 'Mercury',
298  'venus': 'Venus',
299  'mars': 'Mars',
300  'jupiter': 'Jupiter',
301  'saturn': 'Saturn',
302  'uranus': 'Uranus',
303  'neptune': 'Neptune',
304  'pluto': 'Pluto',
305  'ceres': 'Ceres',
306  'pallas': 'Pallas',
307  'juno': 'Juno',
308  'vesta': 'Vesta',
309  'chiron': 'Chiron',
310  'north-node': 'North Node',
311  'pars-fortunae': 'Pars Fortunae',
312  'lilith': 'Lilith',
313  'dispositor-of-ascendant': 'D/Ascendant',
314  'dispositor-of-medium-coeli': 'D/Medium Coeli',
315  'dispositor-of-sun': 'D/Sun',
316  'dispositor-of-moon': 'D/Moon',
317  'dispositor-of-mercury': 'D/Mercury',
318  'dispositor-of-venus': 'D/Venus',
319  'dispositor-of-mars': 'D/Mars',
320  'dispositor-of-jupiter': 'D/Jupiter',
321  'dispositor-of-saturn': 'D/Saturn',
322  'dispositor-of-uranus': 'D/Uranus',
323  'dispositor-of-neptune': 'D/Neptune',
324  'dispositor-of-pluto': 'D/Pluto',
325  'ruler-of-house-1': 'R/House 1',
326  'ruler-of-house-2': 'R/House 2',
327  'ruler-of-house-3': 'R/House 3',
328  'ruler-of-house-4': 'R/House 4',
329  'ruler-of-house-5': 'R/House 5',
330  'ruler-of-house-6': 'R/House 6',
331  'ruler-of-house-7': 'R/House 7',
332  'ruler-of-house-8': 'R/House 8',
333  'ruler-of-house-9': 'R/House 9',
334  'ruler-of-house-10': 'R/House 10',
335  'ruler-of-house-11': 'R/House 11',
336  'ruler-of-house-12': 'R/House 12',
337};
338
339const DEST_QUANTIFIERS = [
340  {
341    key: 'any-place',
342    title: 'IN ANY OF [✓] PLACES'
343  },
344  {
345    key: 'any-aspect-to',
346    title: 'IN ANY OF [✓] ASPECTS TO'
347  },
348  {
349    key: 'any-state',
350    title: 'IN ANY OF [✓] STATES'
351  },
352  {
353    key: 'a-range',
354    title: 'IN A RANGE […]'
355  },
356];
357
358const DEST_QUANTIFIER_DESCRIPTIONS = {
359  'any-place': '',
360  'any-state': '',
361  'any-aspect-to': 'aspect to ',
362  'a-range': '',
363};
364
365const DEST_PLACES = [
366  {
367    key: 'signs',
368    title: 'Signs',
369    expanded: true,
370    children: [
371      {
372        key: 'aries',
373        title: 'Aries'
374      },
375      {
376        key: 'taurus',
377        title: 'Taurus'
378      },
379      {
380        key: 'gemini',
381        title: 'Gemini'
382      },
383      {
384        key: 'cancer',
385        title: 'Cancer'
386      },
387      {
388        key: 'leo',
389        title: 'Leo'
390      },
391      {
392        key: 'virgo',
393        title: 'Virgo'
394      },
395      {
396        key: 'libra',
397        title: 'Libra'
398      },
399      {
400        key: 'scorpio',
401        title: 'Scorpio'
402      },
403      {
404        key: 'sagittarius',
405        title: 'Sagittarius'
406      },
407      {
408        key: 'capricorn',
409        title: 'Capricorn'
410      },
411      {
412        key: 'aquarius',
413        title: 'Aquarius'
414      },
415      {
416        key: 'pisces',
417        title: 'Pisces'
418      },
419    ]
420  },
421  {
422    key: 'elements',
423    title: 'Signs by Element',
424    children: [
425      {
426        key: 'fire',
427        title: 'Fire'
428      },
429      {
430        key: 'earth',
431        title: 'Earth'
432      },
433      {
434        key: 'air',
435        title: 'Air'
436      },
437      {
438        key: 'water',
439        title: 'Water'
440      },
441    ]
442  },
443  {
444    key: 'qualities',
445    title: 'Signs by Quality',
446    children: [
447      {
448        key: 'cardinal',
449        title: 'Cardinal'
450      },
451      {
452        key: 'fixed',
453        title: 'Fixed'
454      },
455      {
456        key: 'mutable',
457        title: 'Mutable'
458      },
459    ]
460  },
461  {
462    key: 'houses',
463    title: 'Houses',
464    expanded: true,
465    children: [
466      {
467        key: 'house-1',
468        title: 'House 1'
469      },
470      {
471        key: 'house-2',
472        title: 'House 2'
473      },
474      {
475        key: 'house-3',
476        title: 'House 3'
477      },
478      {
479        key: 'house-4',
480        title: 'House 4'
481      },
482      {
483        key: 'house-5',
484        title: 'House 5'
485      },
486      {
487        key: 'house-6',
488        title: 'House 6'
489      },
490      {
491        key: 'house-7',
492        title: 'House 7'
493      },
494      {
495        key: 'house-8',
496        title: 'House 8'
497      },
498      {
499        key: 'house-9',
500        title: 'House 9'
501      },
502      {
503        key: 'house-10',
504        title: 'House 10'
505      },
506      {
507        key: 'house-11',
508        title: 'House 11'
509      },
510      {
511        key: 'house-12',
512        title: 'House 12'
513      },
514    ]
515  },
516  {
517    key: 'ruled-signs',
518    title: 'Ruled Signs',
519    children: [
520      {
521        key: 'sign-ruled-by-sun',
522        title: 'Sign ruled by Sun'
523      },
524      {
525        key: 'sign-ruled-by-moon',
526        title: 'Sign ruled by Moon'
527      },
528      {
529        key: 'sign-ruled-by-mercury',
530        title: 'Sign ruled by Mercury'
531      },
532      {
533        key: 'sign-ruled-by-venus',
534        title: 'Sign ruled by Venus'
535      },
536      {
537        key: 'sign-ruled-by-mars',
538        title: 'Sign ruled by Mars'
539      },
540      {
541        key: 'sign-ruled-by-jupiter',
542        title: 'Sign ruled by Jupiter'
543      },
544      {
545        key: 'sign-ruled-by-saturn',
546        title: 'Sign ruled by Saturn'
547      },
548      {
549        key: 'sign-ruled-by-uranus',
550        title: 'Sign ruled by Uranus'
551      },
552      {
553        key: 'sign-ruled-by-neptune',
554        title: 'Sign ruled by Neptune'
555      },
556      {
557        key: 'sign-ruled-by-pluto',
558        title: 'Sign ruled by Pluto'
559      },
560    ]
561  },
562  {
563    key: 'ruled-houses',
564    title: 'Ruled Houses',
565    children: [
566      {
567        key: 'house-ruled-by-sun',
568        title: 'House ruled by Sun'
569      },
570      {
571        key: 'house-ruled-by-moon',
572        title: 'House ruled by Moon'
573      },
574      {
575        key: 'house-ruled-by-mercury',
576        title: 'House ruled by Mercury'
577      },
578      {
579        key: 'house-ruled-by-venus',
580        title: 'House ruled by Venus'
581      },
582      {
583        key: 'house-ruled-by-mars',
584        title: 'House ruled by Mars'
585      },
586      {
587        key: 'house-ruled-by-jupiter',
588        title: 'House ruled by Jupiter'
589      },
590      {
591        key: 'house-ruled-by-saturn',
592        title: 'House ruled by Saturn'
593      },
594      {
595        key: 'house-ruled-by-uranus',
596        title: 'House ruled by Uranus'
597      },
598      {
599        key: 'house-ruled-by-neptune',
600        title: 'House ruled by Neptune'
601      },
602      {
603        key: 'house-ruled-by-pluto',
604        title: 'House ruled by Pluto'
605      },
606    ]
607  },
608];
609
610const DEST_PLACE_DESCRIPTIONS = {
611  'aries': 'Aries',
612  'taurus': 'Taurus',
613  'gemini': 'Gemini',
614  'cancer': 'Cancer',
615  'leo': 'Leo',
616  'virgo': 'Virgo',
617  'libra': 'Libra',
618  'scorpio': 'Scorpio',
619  'sagittarius': 'Sagittarius',
620  'capricorn': 'Capricorn',
621  'aquarius': 'Aquarius',
622  'pisces': 'Pisces',
623  'fire': 'Fire',
624  'earth': 'Earth',
625  'air': 'Air',
626  'water': 'Water',
627  'cardinal': 'Cardinal',
628  'fixed': 'Fixed',
629  'mutable': 'Mutable',
630  'house-1': 'House 1',
631  'house-2': 'House 2',
632  'house-3': 'House 3',
633  'house-4': 'House 4',
634  'house-5': 'House 5',
635  'house-6': 'House 6',
636  'house-7': 'House 7',
637  'house-8': 'House 8',
638  'house-9': 'House 9',
639  'house-10': 'House 10',
640  'house-11': 'House 11',
641  'house-12': 'House 12',
642  'sign-ruled-by-sun': 'S/Sun',
643  'sign-ruled-by-moon': 'S/Moon',
644  'sign-ruled-by-mercury': 'S/Mercury',
645  'sign-ruled-by-venus': 'S/Venus',
646  'sign-ruled-by-mars': 'S/Mars',
647  'sign-ruled-by-jupiter': 'S/Jupiter',
648  'sign-ruled-by-saturn': 'S/Saturn',
649  'sign-ruled-by-uranus': 'S/Uranus',
650  'sign-ruled-by-neptune': 'S/Neptune',
651  'sign-ruled-by-pluto': 'S/Pluto',
652  'house-ruled-by-sun': 'H/Sun',
653  'house-ruled-by-moon': 'H/Moon',
654  'house-ruled-by-mercury': 'H/Mercury',
655  'house-ruled-by-venus': 'H/Venus',
656  'house-ruled-by-mars': 'H/Mars',
657  'house-ruled-by-jupiter': 'H/Jupiter',
658  'house-ruled-by-saturn': 'H/Saturn',
659  'house-ruled-by-uranus': 'H/Uranus',
660  'house-ruled-by-neptune': 'H/Neptune',
661  'house-ruled-by-pluto': 'H/Pluto',
662};
663
664const DEST_STATES = [
665  {
666    key: 'movement',
667    title: 'Movement',
668    expanded: true,
669    children: [
670      {
671        key: 'retrogradation',
672        title: 'Retrogradation'
673      },
674      {
675        key: 'stationary',
676        title: 'Stationary State'
677      },
678    ]
679  },
680  {
681    key: 'dignity',
682    title: 'Dignity',
683    expanded: true,
684    children: [
685      {
686        key: 'domicile',
687        title: 'Domicile/Rulership'
688      },
689      {
690        key: 'detriment',
691        title: 'Detriment'
692      },
693      {
694        key: 'exaltation',
695        title: 'Exaltation'
696      },
697      {
698        key: 'fall',
699        title: 'Fall'
700      },
701    ]
702  },
703];
704
705DEST_STATE_DESCRIPTIONS = {
706  'retrogradation': 'Retrogradation',
707  'stationary': 'Stationary State',
708  'domicile': 'Domicile/Rulership',
709  'detriment': 'Detriment',
710  'exaltation': 'Exaltation',
711  'fall': 'Fall',
712};
713
714const DEST_ASPECTS = [
715  {
716    key: 'major',
717    title: 'Major',
718    expanded: true,
719    children: [
720      {
721        key: 'aspect-0',
722        title: '0° Conjunction',
723      },
724      {
725        key: 'aspect-60',
726        title: '60° Sextile',
727      },
728      {
729        key: 'aspect-90',
730        title: '90° Square',
731      },
732      {
733        key: 'aspect-120',
734        title: '120° Trine',
735      },
736      {
737        key: 'aspect-180',
738        title: '180° Opposition',
739      },
740    ]
741  },
742  {
743    key: 'minor',
744    title: 'Minor',
745    expanded: true,
746    children: [
747      {
748        key: 'aspect-30',
749        title: '30° Semisextile',
750      },
751      {
752        key: 'aspect-45',
753        title: '45° Semisquare',
754      },
755      {
756        key: 'aspect-72',
757        title: '72° Quintile',
758      },
759      {
760        key: 'aspect-135',
761        title: '135° Sesquisquare',
762      },
763      {
764        key: 'aspect-144',
765        title: '144° Biquintile',
766      },
767      {
768        key: 'aspect-150',
769        title: '150° Quincunx',
770      },
771    ]
772  },
773  {
774    key: 'applicative-only',
775    title: 'Option: Only Applicative<br>(Major/Minor) Aspects'
776  },
777  {
778    key: 'minor',
779    title: 'Declination',
780    expanded: false,
781    children: [
782      {
783        key: 'aspect-parallel',
784        title: 'Parallel',
785      },
786      {
787        key: 'aspect-antiparallel',
788        title: 'Antiparallel',
789      },
790    ]
791  },
792];
793
794/*
795const DEST_ASPECT_DESCRIPTIONS = {
796    '0': '0° Conjunction',
797    '30': '30° Semisextile',
798    '60': '60° Sextile',
799    '90': '90° Square',
800    '120': '120° Trine',
801    '150': '150° Quincunx',
802    '180': '180° Opposition',
803    '45': '45° Semisquare',
804    '72': '72° Quintile',
805    '135': '135° Sesquisquare',
806    '144': '144° Biquintile',
807};
808*/
809
810const DEST_ASPECT_DESCRIPTIONS = {
811  'aspect-0': '0°',
812  'aspect-30': '30°',
813  'aspect-60': '60°',
814  'aspect-90': '90°',
815  'aspect-120': '120°',
816  'aspect-150': '150°',
817  'aspect-180': '180°',
818  'aspect-45': '45°',
819  'aspect-72': '72°',
820  'aspect-135': '135°',
821  'aspect-144': '144°',
822  'aspect-parallel': 'parallel',
823  'aspect-antiparallel': 'antiparallel',
824};
825
826const DEST_APPLICATIVE_ASPECT_DESCRIPTION = 'applicative ';
827
828const TRG_QUANTIFIERS = [
829  {
830    key: 'any-1',
831    title: 'ANY OF [✓] OBJECTS'
832  },
833];
834
835const TRG_QUANTIFIER_DESCRIPTIONS = {
836  'any-1': '',
837};
838
839const TRG_OBJECTS = [
840  {
841    key: 'planets',
842    title: 'Planets',
843    expanded: true,
844    children: [
845      {
846        key: 'sun',
847        title: 'Sun'
848      },
849      {
850        key: 'moon',
851        title: 'Moon'
852      },
853      {
854        key: 'mercury',
855        title: 'Mercury'
856      },
857      {
858        key: 'venus',
859        title: 'Venus'
860      },
861      {
862        key: 'mars',
863        title: 'Mars'
864      },
865      {
866        key: 'jupiter',
867        title: 'Jupiter'
868      },
869      {
870        key: 'saturn',
871        title: 'Saturn'
872      },
873      {
874        key: 'uranus',
875        title: 'Uranus'
876      },
877      {
878        key: 'neptune',
879        title: 'Neptune'
880      },
881      {
882        key: 'pluto',
883        title: 'Pluto'
884      },
885    ]
886  },
887  {
888    key: 'points',
889    title: 'Points',
890    expanded: true,
891    children: [
892      {
893        key: 'ascendant',
894        title: 'Ascendant'
895      },
896      {
897        key: 'medium-coeli',
898        title: 'Medium Coeli'
899      },
900      {
901        key: 'north-node',
902        title: 'North Node'
903      },
904      {
905        key: 'lilith',
906        title: 'Mean apogee (Lilith)'
907      },
908    ]
909  },
910  {
911    key: 'asteroids',
912    title: 'Asteroids',
913    children: [
914      {
915        key: 'ceres',
916        title: 'Ceres'
917      },
918      {
919        key: 'pallas',
920        title: 'Pallas'
921      },
922      {
923        key: 'juno',
924        title: 'Juno'
925      },
926      {
927        key: 'vesta',
928        title: 'Vesta'
929      },
930      {
931        key: 'chiron',
932        title: 'Chiron'
933      },
934    ]
935  },
936];
937
938const TRG_OBJECT_DESCRIPTIONS = SRC_OBJECT_DESCRIPTIONS;
939
940//const DEST_RANGE = 'range ';
941
942

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.