PageSourceSearch

https://fortunetell.ai/_next/static/chunks/8516-69d4834ef743a7fd.js

js fortunetell.ai collected 2026-10-05 12:06:44 UTC 51,756 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b528c01c-d57d-4ba0-a580-1e208e93c2ba",e._sentryDebugIdIdentifier="sentry-dbid-b528c01c-d57d-4ba0-a580-1e208e93c2ba")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8516],{8516:(e,t,a)=>{a.d(t,{HI:()=>x,ks:()=>G,kH:()=>E,cB:()=>T,l0:()=>H,Ec:()=>et,$$:()=>ea,zv:()=>$,dX:()=>D,PW:()=>O,bL:()=>K,br:()=>W,qZ:()=>B,iu:()=>P,xd:()=>k,Pr:()=>S,AN:()=>U,bj:()=>w,rI:()=>R,RA:()=>q,SA:()=>z});var n=a(81646),l=a(57955);let i=[25,40,60,75],u=["亥","子","丑","巳","午","未"];function d(e){return e>=75?"极强":e>=60?"偏强":e>=40?"中和":e>=25?"偏弱":"极弱"}function o(e){return Math.round(10*e)/10}let r={木:"火",火:"土",土:"金",金:"水",水:"木"},m={木:"土",火:"金",土:"水",金:"木",水:"火"},g=["木","火","土","金","水"],h=["亥","子","丑"],s=["巳","午","未"];function y(e){return({木:"水",火:"木",土:"火",金:"土",水:"金"})[e]}function c(e){return({木:"金",火:"水",土:"木",金:"火",水:"土"})[e]}function f(e,t,a){if(!t.includes(e))return e;if(a&&!t.includes(a))return a;let n=e;for(let e=0;e<g.length;e++)if(n=r[n],!t.includes(n))return n;return e}function p(e){return h.includes(e)||s.includes(e)}function v(e,t,a){if(h.includes(a))switch(e){case"甲":case"戊":case"己":case"庚":return{usefulGod:"火",avoidGod:"水",likeGod:"木"};case"乙":return{usefulGod:"火",avoidGod:"水",likeGod:"土"};case"丙":return{usefulGod:"水",avoidGod:"金",likeGod:"木"};case"丁":return{usefulGod:"木",avoidGod:"水",likeGod:"火"};case"辛":return{usefulGod:"火",avoidGod:"水",likeGod:"水"};case"壬":case"癸":return{usefulGod:"火",avoidGod:"金",likeGod:"木"}}if(s.includes(a))switch(e){case"甲":case"乙":case"丙":case"己":case"庚":return{usefulGod:"水",avoidGod:"火",likeGod:"金"};case"丁":case"戊":return{usefulGod:"水",avoidGod:"火",likeGod:"木"};case"辛":return{usefulGod:"水",avoidGod:"火",likeGod:"土"};case"壬":case"癸":return{usefulGod:"金",avoidGod:"火",likeGod:"水"}}return{usefulGod:m[t],avoidGod:c(t),likeGod:r[t]}}function b(e){var t,a,n,l;let i,u,d,o,b,{dayMaster:G,dayElement:M,monthBranch:S,strength:w,roundedScore:k}=e,D=(a=M,n=S,"极强"!==(l=w)&&"极弱"!==l&&(h.includes(n)?"水"!==a||"偏强"!==l:!!s.includes(n)&&("火"!==a||"偏强"!==l))),E=!1,L="扶抑";if("极弱"===w||"偏弱"===w)i=y(M),u=c(M),d=M,o=m[M],b=r[M];else if(D&&("中和"===w||"偏强"===w||"极强"===w)){let e=v(G,M,S);i=e.usefulGod,u=e.avoidGod,d=e.likeGod,E=!0,L="调候",o=y(u);let t=[i,d,u,o];b=g.find(e=>!t.includes(e))||M}else if("极强"===w||"偏强"===w)i=c(M),u=M,d=r[M],o=y(M),b=m[M];else{if(p(S)){let e=v(G,M,S);i=e.usefulGod,u=e.avoidGod,d=e.likeGod,E=!0,L="调候"}else k>=50?(i=r[M],u=y(M),d=m[M]):(i=y(M),u=c(M),d=M);o=y(u);let e=[i,d,u,o];b=g.find(t=>!e.includes(t))||M}return(d===u||d===i)&&(d=f(y(i),[i,u])),o=f(y(u),[i,u,d],c(i)),b=null!=(t=g.find(e=>![i,d,u,o].includes(e)))?t:M,{usefulGod:i,avoidGod:u,likeGod:d,jealousGod:o,leisureGod:b,layer:L,isTiaohou:E}}let G=[{name:"北京",longitude:116.4074,latitude:39.9042},{name:"上海",longitude:121.4737,latitude:31.2304},{name:"天津",longitude:117.2008,latitude:39.0842},{name:"重庆",longitude:106.5516,latitude:29.563},{name:"台湾",longitude:121.5099,latitude:25.044},{name:"香港",longitude:114.1733,latitude:22.32},{name:"澳门",longitude:113.5439,latitude:22.1966},{name:"西藏",longitude:91.1322,latitude:29.6604},{name:"新疆",longitude:87.6177,latitude:43.7928},{name:"内蒙古",longitude:111.751,latitude:40.8415},{name:"宁夏",longitude:106.2781,latitude:38.4664},{name:"广西",longitude:108.32,latitude:22.824},{name:"石家庄",longitude:114.5149,latitude:38.0422},{name:"唐山",longitude:118.1754,latitude:39.6351},{name:"秦皇岛",longitude:119.5183,latitude:39.8897},{name:"邯郸",longitude:114.5389,latitude:36.6256},{name:"邢台",longitude:114.5088,latitude:37.0682},{name:"保定",longitude:115.4648,latitude:38.8739},{name:"张家口",longitude:114.8875,latitude:40.7684},{name:"承德",longitude:117.9627,latitude:40.953},{name:"沧州",longitude:116.8388,latitude:38.3045},{name:"廊坊",longitude:116.6838,latitude:39.538},{name:"衡水",longitude:115.6702,latitude:37.7389},{name:"太原",longitude:112.5492,latitude:37.857},{name:"大同",longitude:113.3001,latitude:40.0768},{name:"阳泉",longitude:113.5833,latitude:37.8612},{name:"长治",longitude:113.1136,latitude:36.1911},{name:"晋城",longitude:112.8513,latitude:35.4975},{name:"朔州",longitude:112.4334,latitude:39.3313},{name:"晋中",longitude:112.7527,latitude:37.687},{name:"运城",longitude:111.004,latitude:35.0228},{name:"忻州",longitude:112.7335,latitude:38.4177},{name:"临汾",longitude:111.5179,latitude:36.0841},{name:"吕梁",longitude:111.1343,latitude:37.5203},{name:"呼和浩特",longitude:111.751,latitude:40.8415},{name:"包头",longitude:109.8404,latitude:40.6582},{name:"乌海",longitude:106.8256,latitude:39.6737},{name:"赤峰",longitude:118.887,latitude:42.2577},{name:"通辽",longitude:122.2431,latitude:43.653},{name:"鄂尔多斯",longitude:109.7813,latitude:39.6083},{name:"呼伦贝尔",longitude:119.7658,latitude:49.2116},{name:"巴彦淖尔",longitude:107.4169,latitude:40.7574},{name:"乌兰察布",longitude:113.1326,latitude:40.9948},{name:"沈阳",longitude:123.4291,latitude:41.7958},{name:"大连",longitude:121.6147,latitude:38.914},{name:"鞍山",longitude:122.9956,latitude:41.1106},{name:"抚顺",longitude:123.9572,latitude:41.8809},{name:"本溪",longitude:123.7705,latitude:41.2979},{name:"丹东",longitude:124.383,latitude:40.1243},{name:"锦州",longitude:121.1357,latitude:41.1193},{name:"营口",longitude:122.2352,latitude:40.6674},{name:"阜新",longitude:121.649,latitude:42.0118},{name:"辽阳",longitude:123.1815,latitude:41.2694},{name:"盘锦",longitude:122.0707,latitude:41.1199},{name:"铁岭",longitude:123.8443,latitude:42.2905},{name:"朝阳",longitude:120.4517,latitude:41.5732},{name:"葫芦岛",longitude:120.8564,latitude:40.7555},{name:"长春",longitude:125.3245,latitude:43.8868},{name:"吉林",longitude:126.553,latitude:43.8436},{name:"四平",longitude:124.3708,latitude:43.1703},{name:"辽源",longitude:125.1453,latitude:42.9027},{name:"通化",longitude:125.9365,latitude:41.7212},{name:"白山",longitude:126.4278,latitude:41.9425},{name:"松原",longitude:124.8236,latitude:45.1182},{name:"白城",longitude:122.8411,latitude:45.619},{name:"哈尔滨",longitude:126.6425,latitude:45.7569},{name:"齐齐哈尔",longitude:123.9579,latitude:47.3333},{name:"鸡西",longitude:130.9759,latitude:45.3},{name:"鹤岗",longitude:130.2775,latitude:47.3323},{name:"双鸭山",longitude:131.1573,latitude:46.6468},{name:"大庆",longitude:125.1127,latitude:46.5907},{name:"伊春",longitude:128.8994,latitude:47.7247},{name:"佳木斯",longitude:130.3616,latitude:46.8067},{name:"七台河",longitude:131.0156,latitude:45.7713},{name:"牡丹江",longitude:129.6186,latitude:44.583},{name:"黑河",longitude:127.499,latitude:50.2496},{name:"绥化",longitude:126.9929,latitude:46.6374},{name:"南京",longitude:118.7969,latitude:32.0603},{name:"无锡",longitude:120.3017,latitude:31.5747},{name:"徐州",longitude:117.1848,latitude:34.2618},{name:"常州",longitude:119.947,latitude:31.7728},{name:"苏州",longitude:120.6196,latitude:31.2994},{name:"南通",longitude:120.8646,latitude:32.0162},{name:"连云港",longitude:119.1788,latitude:34.6},{name:"淮安",longitude:119.0213,latitude:33.5975},{name:"盐城",longitude:120.1399,latitude:33.3776},{name:"扬州",longitude:119.421,latitude:32.3932},{name:"镇江",longitude:119.4528,latitude:32.2044},{name:"泰州",longitude:119.9151,latitude:32.4844},{name:"宿迁",longitude:118.2754,latitude:33.963},{name:"杭州",longitude:120.1536,latitude:30.2875},{name:"宁波",longitude:121.5497,latitude:29.8683},{name:"温州",longitude:120.6721,latitude:28.0006},{name:"嘉兴",longitude:120.7508,latitude:30.7627},{name:"湖州",longitude:120.1024,latitude:30.8672},{name:"绍兴",longitude:120.5821,latitude:30.0025},{name:"金华",longitude:119.6495,latitude:29.0895},{name:"衢州",longitude:118.8726,latitude:28.9357},{name:"舟山",longitude:122.1068,latitude:30.016},{name:"台州",longitude:121.4286,latitude:28.6614},{name:"丽水",longitude:119.9213,latitude:28.452},{name:"合肥",longitude:117.2272,latitude:31.8206},{name:"芜湖",longitude:118.3765,latitude:31.3262},{name:"蚌埠",longitude:117.3632,latitude:32.9397},{name:"淮南",longitude:117.0002,latitude:32.6106},{name:"马鞍山",longitude:118.5079,latitude:31.6894},{name:"淮北",longitude:116.7947,latitude:33.9717},{name:"铜陵",longitude:117.8121,latitude:30.9455},{name:"安庆",longitude:117.0435,latitude:30.5088},{name:"黄山",longitude:118.3173,latitude:29.7147},{name:"滁州",longitude:118.3162,latitude:32.3036},{name:"阜阳",longitude:115.8142,latitude:32.897},{name:"宿州",longitude:116.9775,latitude:33.6337},{name:"六安",longitude:116.5077,latitude:31.7529},{name:"亳州",longitude:115.7829,latitude:33.8693},{name:"池州",longitude:117.4892,latitude:30.656}
1,{name:"宣城",longitude:118.7571,latitude:30.9455},{name:"福州",longitude:119.3062,latitude:26.0753},{name:"厦门",longitude:118.0894,latitude:24.4798},{name:"莆田",longitude:119.0076,latitude:25.431},{name:"三明",longitude:117.635,latitude:26.2654},{name:"泉州",longitude:118.5896,latitude:24.9088},{name:"漳州",longitude:117.6618,latitude:24.5109},{name:"南平",longitude:118.1784,latitude:26.6356},{name:"龙岩",longitude:117.0298,latitude:25.0917},{name:"宁德",longitude:119.5271,latitude:26.6593},{name:"南昌",longitude:115.8921,latitude:28.6765},{name:"景德镇",longitude:117.2147,latitude:29.2926},{name:"萍乡",longitude:113.8522,latitude:27.6229},{name:"九江",longitude:115.9928,latitude:29.712},{name:"新余",longitude:114.9308,latitude:27.8108},{name:"鹰潭",longitude:117.0332,latitude:28.2386},{name:"赣州",longitude:114.9403,latitude:25.8509},{name:"吉安",longitude:114.9864,latitude:27.1117},{name:"宜春",longitude:114.3911,latitude:27.8143},{name:"抚州",longitude:116.3584,latitude:27.9839},{name:"上饶",longitude:117.9712,latitude:28.4444},{name:"济南",longitude:117.0009,latitude:36.6758},{name:"青岛",longitude:120.3551,latitude:36.0829},{name:"淄博",longitude:118.0476,latitude:36.8149},{name:"枣庄",longitude:117.5579,latitude:34.8568},{name:"东营",longitude:118.49,latitude:37.46},{name:"烟台",longitude:121.3914,latitude:37.5393},{name:"潍坊",longitude:119.1,latitude:36.62},{name:"济宁",longitude:116.5872,latitude:35.415},{name:"泰安",longitude:117.129,latitude:36.195},{name:"威海",longitude:122.1157,latitude:37.5097},{name:"日照",longitude:119.4613,latitude:35.4286},{name:"莱芜",longitude:117.6777,latitude:36.2143},{name:"临沂",longitude:118.3264,latitude:35.0653},{name:"德州",longitude:116.3074,latitude:37.454},{name:"聊城",longitude:115.9804,latitude:36.456},{name:"滨州",longitude:118.017,latitude:37.3768},{name:"菏泽",longitude:115.4634,latitude:35.2405},{name:"郑州",longitude:113.6654,latitude:34.7579},{name:"开封",longitude:114.3414,latitude:34.797},{name:"洛阳",longitude:112.4345,latitude:34.663},{name:"平顶山",longitude:113.3077,latitude:33.7352},{name:"安阳",longitude:114.3525,latitude:36.103},{name:"鹤壁",longitude:114.2954,latitude:35.7482},{name:"新乡",longitude:113.8839,latitude:35.3026},{name:"焦作",longitude:113.2382,latitude:35.239},{name:"濮阳",longitude:115.0413,latitude:35.7685},{name:"许昌",longitude:113.8261,latitude:34.0229},{name:"漯河",longitude:114.0264,latitude:33.5759},{name:"三门峡",longitude:111.1941,latitude:34.7773},{name:"南阳",longitude:112.5409,latitude:32.9991},{name:"商丘",longitude:115.6505,latitude:34.437},{name:"信阳",longitude:114.075,latitude:32.1266},{name:"周口",longitude:114.6497,latitude:33.6204},{name:"驻马店",longitude:114.0221,latitude:32.9802},{name:"武汉",longitude:114.3054,latitude:30.5931},{name:"黄石",longitude:115.077,latitude:30.2201},{name:"十堰",longitude:110.7877,latitude:32.647},{name:"宜昌",longitude:111.2908,latitude:30.7026},{name:"襄阳",longitude:112.1441,latitude:32.0424},{name:"鄂州",longitude:114.8906,latitude:30.3965},{name:"荆门",longitude:112.2043,latitude:33.0354},{name:"孝感",longitude:113.9266,latitude:30.9264},{name:"荆州",longitude:112.2381,latitude:30.3325},{name:"黄冈",longitude:114.8794,latitude:30.4477},{name:"咸宁",longitude:114.3289,latitude:29.8327},{name:"随州",longitude:113.3738,latitude:31.7179},{name:"恩施",longitude:109.4794,latitude:30.2831},{name:"长沙",longitude:112.9388,latitude:28.2282},{name:"株洲",longitude:113.1517,latitude:27.8358},{name:"湘潭",longitude:112.944,latitude:27.8297},{name:"衡阳",longitude:112.6077,latitude:26.903},{name:"邵阳",longitude:111.4692,latitude:27.2378},{name:"岳阳",longitude:113.1321,latitude:29.3703},{name:"常德",longitude:111.6913,latitude:29.0402},{name:"张家界",longitude:110.4792,latitude:29.1274},{name:"益阳",longitude:112.355,latitude:28.5701},{name:"郴州",longitude:113.0321,latitude:25.7933},{name:"永州",longitude:111.608,latitude:26.4345},{name:"怀化",longitude:109.9782,latitude:27.5501},{name:"娄底",longitude:112.0085,latitude:27.7281},{name:"吉首",longitude:109.7391,latitude:28.3117},{name:"广州",longitude:113.2644,latitude:23.1292},{name:"韶关",longitude:113.5915,latitude:24.8013},{name:"深圳",longitude:114.0579,latitude:22.5431},{name:"珠海",longitude:113.5527,latitude:22.2559},{name:"汕头",longitude:116.7085,latitude:23.371},{name:"佛山",longitude:113.1227,latitude:23.0288},{name:"江门",longitude:113.095,latitude:22.5904},{name:"湛江",longitude:110.3644,latitude:21.2745},{name:"茂名",longitude:110.9192,latitude:21.6598},{name:"肇庆",longitude:112.4725,latitude:23.0515},{name:"惠州",longitude:114.4121,latitude:23.0794},{name:"梅州",longitude:116.1173,latitude:24.2991},{name:"汕尾",longitude:115.3642,latitude:22.7744},{name:"河源",longitude:114.6978,latitude:23.7463},{name:"阳江",longitude:111.9751,latitude:21.8592},{name:"清远",longitude:113.0512,latitude:23.6894},{name:"东莞",longitude:113.7513,latitude:23.0205},{name:"中山",longitude:113.3824,latitude:22.5211},{name:"潮州",longitude:116.6323,latitude:23.6617},{name:"揭阳",longitude:116.3557,latitude:23.5438},{name:"云浮",longitude:112.0444,latitude:22.9298},{name:"南宁",longitude:108.32,latitude:22.824},{name:"柳州",longitude:109.4117,latitude:24.3146},{name:"桂林",longitude:110.2991,latitude:25.2742},{name:"梧州",longitude:111.2976,latitude:23.477},{name:"北海",longitude:109.1193,latitude:21.4733},{name:"防城港",longitude:108.3455,latitude:21.6146},{name:"钦州",longitude:108.6241,latitude:21.9671},{name:"贵港",longitude:109.6021,latitude:23.0936},{name:"玉林",longitude:110.1417,latitude:22.6314},{name:"百色",longitude:106.6163,latitude:23.8969},{name:"贺州",longitude:111.554,latitude:24.4037},{name:"河池",longitude:108.0621,latitude:24.6959},{name:"来宾",longitude:109.2298,latitude:23.7338},{name:"崇左",longitude:107.3539,latitude:22.4041},{name:"海口",longitude:110.3312,latitude:20.0319},{name:"三亚",longitude:109.5083,latitude:18.2478},{name:"成都",longitude:104.0665,latitude:30.5723},{name:"自贡",longitude:104.7734,latitude:29.3521},{name:"攀枝花",longitude:101.7186,latitude:26.5823},{name:"泸州",longitude:105.4433,latitude:28.8891},{name:"德阳",longitude:104.3989,latitude:31.128},{name:"绵阳",longitude:104.7417,latitude:31.464},{name:"广元",longitude:105.8297,latitude:32.4354},{name:"遂宁",longitude:105.5713,latitude:30.5133},{name:"内江",longitude:105.0661,latitude:29.5871},{name:"乐山",longitude:103.7613,latitude:29.5821},{name:"南充",longitude:106.0848,latitude:30.7952},{name:"眉山",longitude:103.8318,latitude:30.0483},{name:"宜宾",longitude:104.6308,latitude:28.7601},{name:"广安",longitude:106.6333,latitude:30.4561},{name:"达州",longitude:107.5023,latitude:31.2094},{name:"雅安",longitude:103.001,latitude:29.9806},{name:"巴中",longitude:106.7537,latitude:31.8588},{name:"资阳",longitude:104.6419,latitude:30.1222},{name:"马尔康",longitude:102.2062,latitude:31.9058},{name:"康定",longitude:101.9623,latitude:30.0489},{name:"西昌",longitude:102.2587,latitude:27.8817},{name:"贵阳",longitude:106.7135,latitude:26.5783},{name:"六盘水",longitude:104.8465,latitude:26.5815},{name:"遵义",longitude:106.9373,latitude:27.7066},{name:"安顺",longitude:105.9322,latitude:26.2455},{name:"毕节",longitude:105.285,latitude:27.3017},{name:"铜仁",longitude:109.1916,latitude:27.7183},{name:"兴义",longitude:104.8955,latitude:25.0888},{name:"凯里",longitude:107.9775,latitude:26.5833},{name:"都匀",longitude:107.5188,latitude:26.2582},{name:"昆明",longitude:102.7123,latitude:25.0406},{name:"曲靖",longitude:103.7978,latitude:25.5015},{name:"玉溪",longitude:102.5439,latitude:24.3505}
1,{name:"保山",longitude:99.1671,latitude:25.1118},{name:"昭通",longitude:103.7172,latitude:27.337},{name:"丽江",longitude:100.233,latitude:26.8721},{name:"普洱",longitude:100.9732,latitude:22.7766},{name:"临沧",longitude:100.0869,latitude:23.8866},{name:"楚雄",longitude:101.546,latitude:25.0333},{name:"个旧",longitude:103.1593,latitude:23.3589},{name:"文山",longitude:104.2444,latitude:23.3669},{name:"景洪",longitude:100.7969,latitude:22.0006},{name:"大理",longitude:100.2256,latitude:25.5895},{name:"芒市",longitude:98.5844,latitude:24.4333},{name:"泸水",longitude:98.8552,latitude:25.8509},{name:"香格里拉",longitude:99.7065,latitude:27.8268},{name:"拉萨",longitude:91.1322,latitude:29.6604},{name:"日喀则",longitude:88.8851,latitude:29.2675},{name:"西安",longitude:108.9402,latitude:34.3416},{name:"铜川",longitude:108.977,latitude:34.8967},{name:"宝鸡",longitude:107.1449,latitude:34.3693},{name:"咸阳",longitude:108.7051,latitude:34.3334},{name:"渭南",longitude:109.5028,latitude:34.4994},{name:"延安",longitude:109.4908,latitude:36.5965},{name:"汉中",longitude:107.0286,latitude:33.0777},{name:"榆林",longitude:109.7412,latitude:38.2901},{name:"安康",longitude:109.0293,latitude:32.6903},{name:"商洛",longitude:109.9397,latitude:33.8683},{name:"兰州",longitude:103.8236,latitude:36.0583},{name:"嘉峪关",longitude:98.2773,latitude:39.7869},{name:"金昌",longitude:102.1879,latitude:38.5142},{name:"白银",longitude:104.1736,latitude:36.5457},{name:"天水",longitude:105.725,latitude:34.5785},{name:"武威",longitude:102.6347,latitude:37.9299},{name:"张掖",longitude:100.4555,latitude:38.9329},{name:"平凉",longitude:106.6846,latitude:35.5427},{name:"酒泉",longitude:98.5108,latitude:39.7441},{name:"庆阳",longitude:107.6384,latitude:35.7342},{name:"定西",longitude:104.6263,latitude:35.5796},{name:"陇南",longitude:104.9291,latitude:33.3887},{name:"临夏",longitude:103.21,latitude:35.6014},{name:"合作",longitude:102.911,latitude:34.9863},{name:"西宁",longitude:101.7789,latitude:36.6231},{name:"海东",longitude:102.1033,latitude:36.5029},{name:"银川",longitude:106.2781,latitude:38.4664},{name:"石嘴山",longitude:106.3762,latitude:39.0133},{name:"吴忠",longitude:106.1994,latitude:37.9862},{name:"固原",longitude:106.2853,latitude:36.0046},{name:"中卫",longitude:105.1896,latitude:37.5149},{name:"乌鲁木齐",longitude:87.6177,latitude:43.7928},{name:"克拉玛依",longitude:84.8739,latitude:45.5959},{name:"石河子",longitude:86.041,latitude:44.3059},{name:"喀什",longitude:75.9891,latitude:39.4677},{name:"伊宁",longitude:81.3241,latitude:43.9168},{name:"香港",longitude:114.1733,latitude:22.32},{name:"澳门",longitude:113.5439,latitude:22.1966},{name:"台北",longitude:121.5099,latitude:25.044},{name:"台中",longitude:120.6736,latitude:24.1477},{name:"高雄",longitude:120.312,latitude:22.6273},{name:"首尔",aliases:["首爾","Seoul","서울","서울특별시"],longitude:126.978,latitude:37.5665},{name:"釜山",aliases:["Busan","부산","부산광역시"],longitude:129.0756,latitude:35.1796},{name:"仁川",aliases:["Incheon","인천"],longitude:126.7052,latitude:37.4563},{name:"大邱",aliases:["大邱","Daegu","대구"],longitude:128.6014,latitude:35.8714},{name:"大田",aliases:["Daejeon","대전"],longitude:127.3845,latitude:36.3504},{name:"光州",aliases:["Gwangju","광주"],longitude:126.8526,latitude:35.1595},{name:"蔚山",aliases:["Ulsan","울산"],longitude:129.3114,latitude:35.5384},{name:"济州",aliases:["濟州","Jeju","제주"],longitude:126.5312,latitude:33.4996},{name:"水原",aliases:["Suwon","수원"],longitude:127.0286,latitude:37.2636},{name:"城南",aliases:["Seongnam","성남"],longitude:127.1389,latitude:37.4449},{name:"东京",aliases:["東京","Tokyo","도쿄","とうきょう"],longitude:139.6503,latitude:35.6762},{name:"大阪",aliases:["Osaka","오사카","おおさか"],longitude:135.5023,latitude:34.6937},{name:"京都",aliases:["Kyoto","교토","きょうと"],longitude:135.7681,latitude:35.0116},{name:"横滨",aliases:["橫濱","Yokohama","요코하마"],longitude:139.638,latitude:35.4437},{name:"名古屋",aliases:["Nagoya","나고야"],longitude:136.9066,latitude:35.1815},{name:"札幌",aliases:["Sapporo","삿포로"],longitude:141.3545,latitude:43.0618},{name:"福冈",aliases:["福岡","Fukuoka","후쿠오카"],longitude:130.4017,latitude:33.5904},{name:"神户",aliases:["神戶","Kobe","고베"],longitude:135.1955,latitude:34.6901},{name:"纽约",aliases:["紐約","New York","NYC","뉴욕"],longitude:-74.006,latitude:40.7128},{name:"洛杉矶",aliases:["洛杉磯","Los Angeles","LA","로스앤젤레스"],longitude:-118.2437,latitude:34.0522},{name:"旧金山",aliases:["舊金山","三藩市","San Francisco","샌프란시스코"],longitude:-122.4194,latitude:37.7749},{name:"芝加哥",aliases:["Chicago","시카고"],longitude:-87.6298,latitude:41.8781},{name:"波士顿",aliases:["波士頓","Boston","보스턴"],longitude:-71.0589,latitude:42.3601},{name:"西雅图",aliases:["西雅圖","Seattle","시애틀"],longitude:-122.3321,latitude:47.6062},{name:"华盛顿",aliases:["華盛頓","Washington","Washington DC","워싱턴"],longitude:-77.0369,latitude:38.9072},{name:"休斯顿",aliases:["休斯頓","Houston","휴스턴"],longitude:-95.3698,latitude:29.7604},{name:"迈阿密",aliases:["邁阿密","Miami","마이애미"],longitude:-80.1918,latitude:25.7617},{name:"圣地亚哥",aliases:["聖地亞哥","San Diego","샌디에이고"],longitude:-117.1611,latitude:32.7157},{name:"亚特兰大",aliases:["亞特蘭大","Atlanta","애틀랜타"],longitude:-84.388,latitude:33.749},{name:"夏威夷",aliases:["夏威夷","Honolulu","Hawaii","하와이"],longitude:-157.8583,latitude:21.3099},{name:"多伦多",aliases:["多倫多","Toronto","토론토"],longitude:-79.3832,latitude:43.6532},{name:"温哥华",aliases:["溫哥華","Vancouver","밴쿠버"],longitude:-123.1207,latitude:49.2827},{name:"蒙特利尔",aliases:["蒙特利爾","Montreal","Montr\xe9al","몬트리올"],longitude:-73.5673,latitude:45.5017},{name:"卡尔加里",aliases:["卡爾加里","Calgary","캘거리"],longitude:-114.0719,latitude:51.0447},{name:"悉尼",aliases:["雪梨","Sydney","시드니"],longitude:151.2093,latitude:-33.8688},{name:"墨尔本",aliases:["墨爾本","Melbourne","멜버른"],longitude:144.9631,latitude:-37.8136},{name:"布里斯班",aliases:["布里斯本","Brisbane","브리즈번"],longitude:153.0251,latitude:-27.4698},{name:"珀斯",aliases:["伯斯","Perth","퍼스"],longitude:115.8605,latitude:-31.9505},{name:"奥克兰",aliases:["奧克蘭","Auckland","오클랜드"],longitude:174.7633,latitude:-36.8485},{name:"新加坡",aliases:["Singapore","싱가포르"],longitude:103.8198,latitude:1.3521},{name:"吉隆坡",aliases:["Kuala Lumpur","KL","쿠알라룸푸르"],longitude:101.6869,latitude:3.139},{name:"曼谷",aliases:["Bangkok","방콕"],longitude:100.5018,latitude:13.7563},{name:"马尼拉",aliases:["馬尼拉","Manila","마닐라"],longitude:120.9842,latitude:14.5995}
1,{name:"雅加达",aliases:["雅加達","Jakarta","자카르타"],longitude:106.8456,latitude:-6.2088},{name:"胡志明",aliases:["胡志明市","Ho Chi Minh","Saigon","호치민"],longitude:106.6297,latitude:10.8231},{name:"河内",aliases:["河內","Hanoi","하노이"],longitude:105.8542,latitude:21.0285},{name:"金边",aliases:["金邊","Phnom Penh","프놈펜"],longitude:104.9282,latitude:11.5564},{name:"伦敦",aliases:["倫敦","London","런던"],longitude:-.1278,latitude:51.5074},{name:"巴黎",aliases:["Paris","파리"],longitude:2.3522,latitude:48.8566},{name:"柏林",aliases:["Berlin","베를린"],longitude:13.405,latitude:52.52},{name:"罗马",aliases:["羅馬","Rome","Roma","로마"],longitude:12.4964,latitude:41.9028},{name:"马德里",aliases:["馬德里","Madrid","마드리드"],longitude:-3.7038,latitude:40.4168},{name:"阿姆斯特丹",aliases:["Amsterdam","암스테르담"],longitude:4.9041,latitude:52.3676},{name:"苏黎世",aliases:["蘇黎世","Zurich","Z\xfcrich","취리히"],longitude:8.5417,latitude:47.3769},{name:"维也纳",aliases:["維也納","Vienna","Wien","비엔나"],longitude:16.3738,latitude:48.2082},{name:"迪拜",aliases:["杜拜","Dubai","두바이"],longitude:55.2708,latitude:25.2048},{name:"莫斯科",aliases:["Moscow","Москва","모스크바"],longitude:37.6173,latitude:55.7558},{name:"孟买",aliases:["孟買","Mumbai","뭄바이"],longitude:72.8777,latitude:19.076},{name:"新德里",aliases:["新德里","New Delhi","Delhi","뉴델리"],longitude:77.1025,latitude:28.7041},{name:"开罗",aliases:["開羅","Cairo","카이로"],longitude:31.2357,latitude:30.0444},{name:"圣保罗",aliases:["聖保羅","S\xe3o Paulo","Sao Paulo","상파울루"],longitude:-46.6333,latitude:-23.5505},{name:"墨西哥城",aliases:["Mexico City","Ciudad de M\xe9xico","멕시코시티"],longitude:-99.1332,latitude:19.4326},{name:"约翰内斯堡",aliases:["約翰內斯堡","Johannesburg","요하네스버그"],longitude:28.0473,latitude:-26.2041}];function M(e,t){let a=t.toLowerCase(),n=e.toLowerCase();for(let l of G){if(l.name===t||e.includes(l.name))return{displayName:l.name,city:l};if(l.aliases)for(let e of l.aliases){let t=e.toLowerCase();if(t===a||n.includes(t))return{displayName:e,city:l}}}return null}function S(e){if(!e)return null;let t=e.trim().replace(/市$/,"").replace(/省$/,""),a=M(e,t);return a?{longitude:a.city.longitude,latitude:a.city.latitude}:null}function w(e){if(!e)return null;let t=e.trim().replace(/市$/,"").replace(/省$/,""),a=M(e,t);return a?{name:a.displayName,longitude:a.city.longitude,latitude:a.city.latitude}:null}function k(e,t){if(!Number.isFinite(e)||!Number.isFinite(t))return null;let a=null,n=1/0;for(let l of G){let i=l.longitude-e,u=l.latitude-t,d=i*i+u*u;d<n&&(n=d,a={name:l.name,longitude:l.longitude,latitude:l.latitude})}return a}function D(e){let t=function(e){let t=[];return(!Number.isFinite(e.year)||e.year<1900||e.year>2100)&&t.push("年份应在1900-2100年之间"),(!Number.isFinite(e.month)||e.month<1||e.month>12)&&t.push("月份应在1-12月之间"),(!Number.isFinite(e.day)||e.day<1||e.day>31)&&t.push("日期应在1-31日之间"),(!Number.isFinite(e.hour)||e.hour<0||e.hour>23)&&t.push("小时应在0-23之间"),(!Number.isFinite(e.minute)||e.minute<0||e.minute>59)&&t.push("分钟应在0-59之间"),void 0!==e.longitude&&(!Number.isFinite(e.longitude)||e.longitude<-180||e.longitude>180)&&t.push("经度应在-180到180之间"),void 0!==e.latitude&&(!Number.isFinite(e.latitude)||e.latitude<-90||e.latitude>90)&&t.push("纬度应在-90到90之间"),!e.isLunar&&e.isLeapMonth&&t.push("阳历日期不应标记为闰月"),t}(e);if(t.length>0)throw Error("输入信息错误: ".concat(t.join(", ")));try{let t;if(e.isLunar){let a=e.isLeapMonth?-Math.abs(e.month):e.month;t=n.Lunar.fromYmdHms(e.year,a,e.day,e.hour,e.minute,0).getSolar()}else t=n.Solar.fromYmdHms(e.year,e.month,e.day,e.hour,e.minute,0);let a=t.getYear(),i=t.getMonth(),u=t.getDay(),d=e.hour,o=e.minute,r=0;if(e.useTrueSolarTime&&void 0!==e.longitude){let l=function(e,t,a,n,l,i){let u=Math.round((i-120)*4+function(e,t,a){let n=new Date(e,t-1,a),l=new Date(e,0,1
1),i=2*Math.PI/365*(Math.floor((n.getTime()-l.getTime())/864e5)+1-81);return 9.87*Math.sin(2*i)-7.53*Math.cos(i)-1.5*Math.sin(i)}(e,t,a)),d=new Date(e,t-1,a,n,l+u);return{year:d.getFullYear(),month:d.getMonth()+1,day:d.getDate(),hour:d.getHours(),minute:d.getMinutes(),differenceMinutes:u}}(a,i,u,d,o,e.longitude);a=l.year,i=l.month,u=l.day,d=l.hour,o=l.minute,r=l.differenceMinutes,t=n.Solar.fromYmdHms(a,i,u,d,o,0)}if(23===d){let e=n.Solar.fromYmdHms(a,i,u,d,o,0).next(1,"d");a=e.getYear(),i=e.getMonth(),u=e.getDay(),d=0,t=n.Solar.fromYmdHms(a,i,u,d,o,0)}let m=t.getLunar().getEightChar();return{year:{heavenly:m.getYearGan(),earthly:m.getYearZhi()},month:{heavenly:m.getMonthGan(),earthly:m.getMonthZhi()},day:{heavenly:m.getDayGan(),earthly:m.getDayZhi()},hour:{heavenly:m.getTimeGan(),earthly:m.getTimeZhi()},trueSolarTime:new Date(t.getYear(),t.getMonth()-1,t.getDay(),d,o),originalTime:new Date(e.year,e.month-1,e.day,e.hour,e.minute),timeDifference:r,gender:e.gender,engineVersion:l.AH}}catch(e){if(e instanceof Error){if(e.message.startsWith("输入信息错误"))throw e;throw Error("八字计算失败: ".concat(e.message))}throw Error("八字计算失败,请检查输入信息是否正确")}}let E=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],L=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Y={子:"鼠",丑:"牛",寅:"虎",卯:"兔",辰:"龙",巳:"蛇",午:"马",未:"羊",申:"猴",酉:"鸡",戌:"狗",亥:"猪"},N=["木","火","土","金","水"],T={甲:"木",乙:"木",丙:"火",丁:"火",戊:"土",己:"土",庚:"金",辛:"金",壬:"水",癸:"水"},H={甲:"阳",乙:"阴",丙:"阳",丁:"阴",戊:"阳",己:"阴",庚:"阳",辛:"阴",壬:"阳",癸:"阴"},x={子:"水",丑:"土",寅:"木",卯:"木",辰:"土",巳:"火",午:"火",未:"土",申:"金",酉:"金",戌:"土",亥:"水"},F={子:["癸"],丑:["己","癸","辛"],寅:["甲","丙","戊"],卯:["乙"],辰:["戊","乙","癸"],巳:["丙","戊","庚"],午:["丁","己"],未:["己","丁","乙"],申:["庚","壬","戊"],酉:["辛"],戌:["戊","辛","丁"],亥:["壬","甲"]},C={甲子:"海中金",乙丑:"海中金",丙寅:"炉中火",丁卯:"炉中火",戊辰:"大林木",己巳:"大林木",庚午:"路旁土",辛未:"路旁土",壬申:"剑锋金",癸酉:"剑锋金",甲戌:"山头火",乙亥:"山头火",丙子:"涧下水",丁丑:"涧下水",戊寅:"城头土",己卯:"城头土",庚辰:"白蜡金",辛巳:"白蜡金",壬午:"杨柳木",癸未:"杨柳木",甲申:"泉中水",乙酉:"泉中水",丙戌:"屋上土",丁亥:"屋上土",戊子:"霹雳火",己丑:"霹雳火",庚寅:"松柏木",辛卯:"松柏木",壬辰:"长流水",癸巳:"长流水",甲午:"砂中金",乙未:"砂中金",丙申:"山下火",丁酉:"山下火",戊戌:"平地木",己亥:"平地木",庚子:"壁上土",辛丑:"壁上土",壬寅:"金箔金",癸卯:"金箔金",甲辰:"覆灯火",乙巳:"覆灯火",丙午:"天河水",丁未:"天河水",戊申:"大驿土",己酉:"大驿土",庚戌:"钗钏金",辛亥:"钗钏金",壬子:"桑柘木",癸丑:"桑柘木",甲寅:"大溪水",乙卯:"大溪水",丙辰:"沙中土",丁巳:"沙中土",戊午:"天上火",己未:"天上火",庚申:"石榴木",辛酉:"石榴木",壬戌:"大海水",癸亥:"大海水"},j={木:"火",火:"土",土:"金",金:"水",水:"木"},A={木:"土",火:"金",土:"水",金:"木",水:"火"};function P(e,t){let a=T[e],n=T[t],l=H[e]===H[t];return a===n?l?"比肩":"劫财":j[a]===n?l?"食神":"伤官":A[a]===n?l?"偏财":"正财":A[n]===a?l?"七杀":"正官":j[n]===a?l?"偏印":"正印":"比肩"}function B(e,t){return C["".concat(e).concat(t)]||"未知"}let I={木:{亥:"长生",子:"沐浴",丑:"冠带",寅:"临官",卯:"帝旺",辰:"衰",巳:"病",午:"死",未:"墓",申:"绝",酉:"胎",戌:"养"},火:{寅:"长生",卯:"沐浴",辰:"冠带",巳:"临官",午:"帝旺",未:"衰",申:"病",酉:"死",戌:"墓",亥:"绝",子:"胎",丑:"养"},土:{寅:"长生",卯:"沐浴",辰:"冠带",巳:"临官",午:"帝旺",未:"衰",申:"病",酉:"死",戌:"墓",亥:"绝",子:"胎",丑:"养"},金:{巳:"长生",午:"沐浴",未:"冠带",申:"临官",酉:"帝旺",戌:"衰",亥:"病",子:"死",丑:"墓",寅:"绝",卯:"胎",辰:"养"},水:{申:"长生",酉:"沐浴",戌:"冠带",亥:"临官",子:"帝旺",丑:"衰",寅:"病",卯:"死",辰:"墓",巳:"绝",午:"胎",未:"养"}};function Z(e,t){return I[T[e]][t]}function _(e,t){return({甲子:"戌亥",乙丑:"戌亥",丙寅:"戌亥",丁卯:"戌亥",戊辰:"戌亥",己巳:"戌亥",庚午:"戌亥",辛未:"戌亥",壬申:"戌亥",癸酉:"戌亥",甲戌:"申酉",乙亥:"申酉",丙子:"申酉",丁丑:"申酉",戊寅:"申酉",己卯:"申酉",庚辰:"申酉",辛巳:"申酉",壬午:"申酉",癸未:"申酉",甲申:"午未",乙酉:"午未",丙戌:"午未",丁亥:"午未",戊子:"午未",己丑:"午未",庚寅:"午未",辛卯:"午未",壬辰:"午未",癸巳:"午未",甲午:"辰巳",乙未:"辰巳",丙申:"辰巳",丁酉:"辰巳",戊戌:"辰巳",己亥:"辰巳",庚子:"辰巳",辛丑:"辰巳",壬寅:"辰巳",癸卯:"辰巳",甲辰:"寅卯",乙巳:"寅卯",丙午:"寅卯",丁未:"寅卯",戊申:"寅卯",己酉:"寅卯",庚戌:"寅卯",辛亥:"寅卯",壬子:"寅卯",癸丑:"寅卯",甲寅:"子丑",乙卯:"子丑",丙辰:"子丑",丁巳:"子丑",戊午:"子丑",己未:"子丑",庚申:"子丑",辛酉:"子丑",壬戌:"子丑",癸亥:"子丑"})["".concat(e).concat(t)]||"未知"}function J(e,t){let a=n.Solar.fromYmdHms(e.getFullYear(),e.getMonth()+1,e.getDate(),e.getHours(),e.getMinutes(),0).getLunar(),l=a.getNextJie?a.getNextJie():null,i=a.getPrevJie?a.getPrevJie():null,u=null;if(t){if(l){let e=l.getSolar();
1u=new Date(e.getYear(),e.getMonth()-1,e.getDay(),e.getHour(),e.getMinute())}}else if(i){let e=i.getSolar();u=new Date(e.getYear(),e.getMonth()-1,e.getDay(),e.getHour(),e.getMinute())}return u?Math.max(.3,Math.min(12,Math.abs(t?u.getTime()-e.getTime():e.getTime()-u.getTime())/864e5/3)):8}function W(e,t,a){let n=H[e.year.heavenly],l="male"===t&&"阳"===n||"female"===t&&"阴"===n,i=e.month.heavenly,u=e.month.earthly,d=function(e,t){for(let a=0;a<60;a++){let n=E[a%10],l=L[a%12];if(n===e&&l===t)return a}return -1}(i,u);if(-1===d){console.error("月柱不在60甲子中:",i,u);let t=E.indexOf(e.month.heavenly),n=L.indexOf(e.month.earthly);return function(e,t,a,n,l,i){let u=[],d=Math.round(a?J(a,i):8);for(let t=0;t<8;t++){let a,o;i?(a=(n+t+1)%10,o=(l+t+1)%12):(a=(n-t-1+10)%10,o=(l-t-1+12)%12);let r=E[a],m=L[o];u.push({startAge:d+10*t,endAge:d+(t+1)*10-1,heavenly:r,earthly:m,nayin:B(r,m),tenGod:P(e.day.heavenly,r),lifeStage:Z(e.day.heavenly,m)})}return u}(e,0,a,t,n,l)}let o=[],r=Math.floor(a?J(a,l):8);for(let t=0;t<8;t++){let{heavenly:a,earthly:n}=function(e){let t=(e%60+60)%60;return{heavenly:E[t%10],earthly:L[t%12]}}(l?(d+t+1)%60:(d-t-1+60)%60),i=r+10*t,u=r+(t+1)*10-1;o.push({startAge:i,endAge:u,heavenly:a,earthly:n,nayin:B(a,n),tenGod:P(e.day.heavenly,a),lifeStage:Z(e.day.heavenly,n)})}return o}function $(e,t){let a=n.Solar.fromYmdHms(t,6,1,12,0,0).getLunar().getEightChar(),l=a.getYearGan(),i=a.getYearZhi(),u=P(e.day.heavenly,l),d=Z(e.day.heavenly,i),o="平和",r=T[e.day.heavenly],m=T[l];return j[r]===m?o="泄气":j[m]===r?o="生扶":A[r]===m?o="克制":A[m]===r?o="受克":r===m&&(o="比和"),{year:t,heavenly:l,earthly:i,nayin:B(l,i),tenGod:u,relationship:o,lifeStage:d,zodiac:Y[i]}}function K(e,t){var a,l;let i=n.Solar.fromYmdHms(t.year,t.month,t.day,null!=(a=t.hour)?a:12,null!=(l=t.minute)?l:0,0).getLunar().getEightChar(),u=i.getDayGan(),d=i.getDayZhi(),o=P(e.day.heavenly,u),r="平和",m=T[e.day.heavenly],g=T[u];return j[m]===g?r="泄气":j[g]===m?r="生扶":A[m]===g?r="克制":A[g]===m?r="受克":m===g&&(r="比和"),{date:"".concat(t.year,"-").concat(String(t.month).padStart(2,"0"),"-").concat(String(t.day).padStart(2,"0")),heavenly:u,earthly:d,nayin:B(u,d),tenGod:o,relationship:r}}function V(e,t){return I[T[e]][t]}function z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"male",a=new Date().getFullYear(),n={year:F[e.year.earthly].map(t=>P(e.day.heavenly,t)),month:F[e.month.earthly].map(t=>P(e.day.heavenly,t)),day:F[e.day.earthly].map(t=>P(e.day.heavenly,t)),hour:F[e.hour.earthly].map(t=>P(e.day.heavenly,t))};return{chart:e,nayin:{year:B(e.year.heavenly,e.year.earthly),month:B(e.month.heavenly,e.month.earthly),day:B(e.day.heavenly,e.day.earthly),hour:B(e.hour.heavenly,e.hour.earthly)},tenGods:{year:P(e.day.heavenly,e.year.heavenly),month:P(e.day.heavenly,e.month.heavenly),day:P(e.day.heavenly,e.day.heavenly),hour:P(e.day.heavenly,e.hour.heavenly)},hiddenStems:{year:F[e.year.earthly],month:F[e.month.earthly],day:F[e.day.earthly],hour:F[e.hour.earthly]},deputyStars:n,lifeStages:{year:Z(e.day.heavenly,e.year.earthly),month:Z(e.day.heavenly,e.month.earthly),day:Z(e.day.heavenly,e.day.earthly),hour:Z(e.day.heavenly,e.hour.earthly)},selfSitting:{year:V(e.year.heavenly,e.year.earthly),month:V(e.month.heavenly,e.month.earthly),day:V(e.day.heavenly,e.day.earthly),hour:V(e.hour.heavenly,e.hour.earthly)},emptiness:{year:_(e.year.heavenly,e.year.earthly),month:_(e.month.heavenly,e.month.earthly),day:_(e.day.heavenly,e.day.earthly),hour:_(e.hour.heavenly,e.hour.earthly)},shenSha:function(e){let t={year:[],month:[],day:[],hour:[]},a=e.day.heavenly,n=e.day.earthly,l=e.year.earthly,i=e.month.earthly,u={甲:["丑","未"],乙:["子","申"],丙:["亥","酉"],丁:["亥","酉"],戊:["丑","未"],己:["子","申"],庚:["丑","未"],辛:["寅","午"],壬:["卯","巳"],癸:["卯","巳"]}[a];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{u.includes(e.earthly)&&t[["year","month","day","hour"][a]].push({name:"天乙贵人",type:"吉",description:"遇难呈祥,逢凶化吉"})});let d={甲:["子","午"],乙:["子","午"],丙:["卯","酉"],丁:["卯","酉"],戊:["辰","戌","丑","未"],己:["辰","戌","丑","未"],庚:["寅","亥"],辛:["寅","亥"],壬:["巳","申"],癸:["巳","申"]}[a];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{d.includes(e.earthly)&&t[["year","month","day","hour"][a]].push({name:"太极贵人",type:"吉",description:"聪明好学,有钻研精神"})});let o={甲:"巳",乙:"午",丙:"申",丁:"酉",戊:"申",己:"酉",庚:"亥",辛:"子",壬:"寅",癸:"卯"}[a];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===o&&t[["year","month","day","hour"][a]].push({name:"文昌贵人",type:"吉",description:"聪明好学,文采出众"})});let r={子:"巳",丑:"午",寅:"未",卯:"申",辰:"酉",巳:"戌",午:"亥",未:"子",申:"丑",酉:"寅",戌:"卯",亥:"辰"}[i];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===r&&t[["year","month","day","hour"][a]].push({name:"天厨贵人",type:"吉",description:"衣食无忧,善于享受"})});let m={寅:"戌",午:"戌",戌:"戌",申:"辰",子:"辰",辰:"辰",亥:"未",卯:"未",未:"未",巳:"丑",酉:"丑",丑:"丑"}[l];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===m&&t[["year","month","day","hour"][a]].push({name:"国印贵人",type:"吉",description:"有权威,受人尊重"})});let g={甲:["寅"],乙:["卯"],丙:["巳"],丁:["午"],戊:["巳"],己:["午"],庚:["申"],辛:["酉"],壬:["亥"],癸:["子"]}[a];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{g.includes(e.earthly)&&t[["year","month","day","hour"][a]].push({name:"德秀贵人",type:"吉",description:"品德高尚,才华出众"})});let h={子:"壬",丑:"癸",寅:"甲",卯:"乙",辰:"丙",巳:"丁",午:"戊",未:"己",申:"庚",酉:"辛",戌:"壬",亥:"癸"}[i];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.heavenly===h&&t[["year","month","day","hour"][a]].push({name:"天德合",type:"吉",description:"逢凶化吉,贵人相助"})});let s={子:"庚",丑:"辛",寅:"壬",卯:"癸",辰:"甲",巳:"乙",午:"丙",未:"丁",申:"戊",酉:"己",戌:"庚",亥:"辛"}[i];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.heavenly===s&&t[["year","month","day","hour"][a]].push({name:"月德合",type:"吉",description:"月德之合,吉祥如意"})});let y={子:"辰",丑:"巳",寅:"午",卯:"未",辰:"申",巳:"酉",午:"戌",未:"亥",申:"子",酉:"丑",戌:"寅",亥:"卯"}[n];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===y&&t[["year","month","day","hour"][a]].push({name:"金舆",type:"吉",description:"富贵荣华,出行顺利"})});let c={子:"酉",丑:"申",寅:"未",卯:"午",辰:"巳",巳:"辰",午:"卯",未:"寅",申:"丑",酉:"子",戌:"亥",亥:"戌"}[l];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===c&&t[["year","month","day","hour"][a]].push({name:"天喜",type:"吉",description:"喜事临门,心情愉悦"})});let f={子:"未",丑:"申",寅:"酉",卯:"戌",辰:"亥",巳:"子",午:"丑",未:"寅",申:"卯",酉:"辰",戌:"巳",亥:"午"}[l];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===f&&t[["year","month","day","hour"][a]].push({name:"元辰",type:"凶",description:"易有波折,需谨慎行事"})});let p={寅:"戌",午:"戌",戌:"戌",申:"辰",子:"辰",辰:"辰",亥:"未",卯:"未",未:"未",巳:"丑",酉:"丑",丑:"丑"}[n];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===p&&t[["year","month","day","hour"][a]].push({name:"华盖",type:"中",description:"聪明孤独,适合艺术修行"})});let v={寅:"午",午:"午",戌:"午",申:"子",子:"子",辰:"子",亥:"卯",卯:"卯",未:"卯",巳:"酉",酉:"酉",丑:"酉"}[l];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===v&&t[["year","month","day","hour"][a]].push({name:"将星",type:"吉",description:"有领导才能,威武刚强"})});let b={子:"亥",丑:"子",寅:"丑",卯:"寅",辰:"卯",巳:"辰",午:"巳",未:"午",申:"未",酉:"申",戌:"酉",亥:"戌"}[i];[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===b&&t[["year","month","day","hour"][a]].push({name:"天医",type:"吉",description:"身体健康,
1医药有缘"})});let G={子:"午",丑:"未",寅:"申",卯:"酉",辰:"戌",巳:"亥",午:"子",未:"丑",申:"寅",酉:"卯",戌:"辰",亥:"巳"}[n];return[e.year,e.month,e.day,e.hour].forEach((e,a)=>{e.earthly===G&&t[["year","month","day","hour"][a]].push({name:"飞刃",type:"凶",description:"性格刚烈,易有血光"})}),["丙子","丁丑","戊寅","辛卯","壬辰","癸巳","丙午","丁未","戊申","辛酉","壬戌","癸亥"].includes("".concat(e.day.heavenly).concat(e.day.earthly))&&t.day.push({name:"阴差阳错",type:"凶",description:"婚姻易有波折"}),t}(e),fiveElements:function(e){let t={木:0,火:0,土:0,金:0,水:0};[e.year.heavenly,e.month.heavenly,e.day.heavenly,e.hour.heavenly].forEach(e=>{t[T[e]]+=1}),[{branch:e.year.earthly,isMonth:!1},{branch:e.month.earthly,isMonth:!0},{branch:e.day.earthly,isMonth:!1},{branch:e.hour.earthly,isMonth:!1}].forEach(e=>{let{branch:a,isMonth:n}=e;F[a].forEach((e,a)=>{t[T[e]]+=n?0===a?1:1===a?.7:.4:0===a?.6:1===a?.4:.2})});let a=e.month.earthly,n="春";["寅","卯","辰"].includes(a)?n="春":["巳","午","未"].includes(a)?n="夏":["申","酉","戌"].includes(a)?n="秋":["亥","子","丑"].includes(a)&&(n="冬"),["辰","戌","丑","未"].includes(a)&&(n="季");let l={春:{木:"旺",火:"相",水:"休",金:"囚",土:"死"},夏:{火:"旺",土:"相",木:"休",水:"囚",金:"死"},秋:{金:"旺",水:"相",土:"休",火:"囚",木:"死"},冬:{水:"旺",木:"相",金:"休",土:"囚",火:"死"},季:{土:"旺",金:"相",火:"休",木:"囚",水:"死"}}[n],i={旺:1.5,相:1.2,休:1,囚:.7,死:.5},u=N.map(e=>{let a=t[e],n=l[e],u=a*i[n];return{element:e,count:Math.round(10*a)/10,strength:Math.min(100,Math.round(u/12*100)),status:n}});u.sort((e,t)=>t.strength-e.strength);let d=u[0].element,o=[...u].sort((e,t)=>e.count-t.count)[0].element;return{elements:u,strongest:d,weakest:o,missing:N.filter(e=>t[e]<.3)}}(e),usefulGod:function(e){let t=e.day.heavenly,a=T[t],n=e.month.earthly,l=ee(e),{usefulGod:i,avoidGod:u,likeGod:d,jealousGod:o,leisureGod:r,isTiaohou:m}=b({dayMaster:t,dayElement:a,monthBranch:n,strength:l.strength,roundedScore:l.score}),g=function(e,t,a,n,l){let i,u=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return i=u?"日主".concat(a.strength,",但生于寒暑之月,调候为急,优先取调候用神"):"极强"===a.strength||"偏强"===a.strength?"日主偏强,宜泄宜克":"极弱"===a.strength||"偏弱"===a.strength?"日主偏弱,宜生宜扶":"日主中和,取调候通关","日主".concat(e,"(").concat(t,")").concat(i,"。用神取").concat(n,",忌神为").concat(l,"。综合评分:").concat(a.score,"分。")}(t,a,l,i,u,m),h=function(e,t){let a={木:"绿色、青色",火:"红色、紫色",土:"黄色、棕色",金:"白色、金色",水:"黑色、蓝色"};return["幸运颜色:".concat(a[e],"、").concat(a[t]),"有利方位:".concat({木:"东方",火:"南方",土:"中央、东北、西南",金:"西方",水:"北方"}[e]),"适宜行业:".concat({木:"教育、文化、出版、服装、园艺",火:"电子、能源、餐饮、娱乐、传媒",土:"房地产、建筑、农业、矿业、仓储",金:"金融、机械、汽车、珠宝、法律",水:"物流、旅游、水产、贸易、咨询"}[e]),"佩戴饰品:与".concat(e,"五行相关的材质")]}(i,d);return{usefulGod:i,avoidGod:u,likeGod:d,jealousGod:o,leisureGod:r,dayMasterStrength:l.strength,analysis:g,recommendations:h}}(e),majorLucks:W(e,t,e.trueSolarTime),currentYearFortune:$(e,a)}}let O=z;function R(e){return({长生:"新生期",沐浴:"成长期",冠带:"发展期",临官:"成熟期",帝旺:"巅峰期",衰:"调整期",病:"反思期",死:"蜕变期",墓:"积累期",绝:"突破期",胎:"孕育期",养:"准备期"})[e]}function q(e){if(!e.isLunar)return new Date(e.year,e.month-1,e.day,e.hour||12,e.minute||0,0);{let t=e.isLeapMonth?-Math.abs(e.month):e.month,a=n.Lunar.fromYmdHms(e.year,t,e.day,e.hour||12,e.minute||0,0).getSolar();return new Date(a.getYear(),a.getMonth()-1,a.getDay(),e.hour||12,e.minute||0,0)}}function U(e){return({木:{from:"from-emerald-50",to:"to-green-100",text:"text-emerald-700",border:"border-emerald-200"},火:{from:"from-rose-50",to:"to-red-100",text:"text-rose-700",border:"border-rose-200"},土:{from:"from-amber-50",to:"to-yellow-100",text:"text-amber-700",border:"border-amber-200"},金:{from:"from-slate-50",to:"to-zinc-100",text:"text-slate-700",border:"border-slate-200"},水:{from:"from-blue-50",to:"to-cyan-100",text:"text-blue-700",border:"border-blue-200"}})[e]}let X={子:{partner:"丑",element:"土"},丑:{partner:"子",element:"土"},寅:{partner:"亥",element:"木"},亥:{partner:"寅",element:"木"},卯:{partner:"戌",element:"火"},戌:{partner:"卯",element:"火"},辰:{partner:"酉",element:"金"},酉:{partner:"辰",element:"金"},巳:{partner:"申",element:"水"},申:{partner:"巳",element:"水"},午:{partner:"未",element:"土"},未:{partner:"午",element:"土"}},Q=[{branches:["申","子","辰"],element:"水"},{branches:["亥","卯","未"],element:"木"},{branches:["寅","午","戌"],element:"火"},{branches:["巳","酉","丑"],element:"金"}];function ee(e){let t=e.day.heavenly,a=T[t],n=e.month.earthly,l=50,i=[],u=x[n];u===a?(l+=28,i.push("月令".concat(n,"(").concat(u,")与日主同五行,得令+28"))):j[u]===a?(l+=22,i.push("月令".concat(n,"(").concat(u,")生日主,得令+22"))):A[u]===a?(l-=20,i.push("月令".concat(n,"(").concat(u,")克日主,失令-20"))):j[a]===u?(l-=14,i.push("日主生月令".concat(n,"(").concat(u,"),泄气-14"))):A[a]===u&&(l-=8,i.push("日主克月令".concat(n,"(").concat(u,"),耗气-8")));let d=[e.year.heavenly,e.month.heavenly,e.day.heavenly,e.hour.heavenly],o=[e.year.earthly,e.month.earthly,e.day.earthly,e.hour.earthly];for(let e of d){if(e===t)continue;let n=T[e];n===a?(l+=8,i.push("天干".concat(e,"(").concat(n,")比劫帮身+8"))):j[n]===a?(l+=6,i.push("天干".concat(e,"(").concat(n,")印星生身+6"))):A[n]===a?(l-=6,i.push("天干".concat(e,"(").concat(n,")官杀克身-6"))):j[a]===n?(l-=4,i.push("天干".concat(e,"(").concat(n,")食伤泄身-4"))):A[a]===n&&(l-=3,i.push("天干".concat(e,"(").concat(n,")财星耗身-3")))}for(let e of o){let t=F[e];for(let e=0;e<t.length;e++){let n=t.length,i=1===n?1:2===n?0===e?.7:.3:0===e?.6:1===e?.3:.1,u=T[t[e]
1];u===a?l+=4*i:j[u]===a?l+=3*i:A[u]===a?l-=3*i:j[a]===u?l-=2*i:A[a]===u&&(l-=1.5*i)}}for(let e of Q)if(e.branches.every(e=>o.includes(e))){let t=e.element;t===a?(l+=12,i.push("三合".concat(t,"局(").concat(e.branches.join(""),")帮身+12"))):j[t]===a?(l+=8,i.push("三合".concat(t,"局(").concat(e.branches.join(""),")生身+8"))):A[t]===a?(l-=10,i.push("三合".concat(t,"局(").concat(e.branches.join(""),")克身-10"))):j[a]===t?(l-=6,i.push("三合".concat(t,"局(").concat(e.branches.join(""),")泄身-6"))):A[a]===t&&(l-=4,i.push("三合".concat(t,"局(").concat(e.branches.join(""),")耗身-4")))}let r=[{branch:e.year.earthly,name:"年"},{branch:e.month.earthly,name:"月"},{branch:e.day.earthly,name:"日"},{branch:e.hour.earthly,name:"时"}];for(let e=0;e<r.length-1;e++){let t=X[r[e].branch];if(t&&t.partner===r[e+1].branch){let n=t.element;n===a?(l+=5,i.push("".concat(r[e].name).concat(r[e+1].name,"六合").concat(n,"帮身+5"))):j[n]===a?(l+=3,i.push("".concat(r[e].name).concat(r[e+1].name,"六合").concat(n,"生身+3"))):A[n]===a&&(l-=4,i.push("".concat(r[e].name).concat(r[e+1].name,"六合").concat(n,"克身-4")))}}return{strength:l>=75?"极强":l>=60?"偏强":l>=40?"中和":l>=25?"偏弱":"极弱",score:Math.round(l),rawScore:l,details:i}}function et(e){let t=e.day.heavenly,a=T[t],n=e.month.earthly,{rawScore:l}=ee(e),r=function(e){var t;if(!e||"object"!=typeof e)return[];let a=e.rawScore;if("number"!=typeof a||!Number.isFinite(a))return[];let n="number"!=typeof(t=e.margin)||!Number.isFinite(t)||t<0?3:t,l=[];for(let e of i){let t=Math.abs(a-e);if(t>n)continue;let i=function(e){switch(e){case 25:return"veryWeakToWeak";case 40:return"weakToNeutral";case 60:return"neutralToStrong";case 75:return"strongToVeryStrong";default:return null}}(e);if(!i)continue;let u=a<e?"below":"above";l.push({kind:i,threshold:e,effectiveThreshold:e,rawScore:a,distance:o(t),side:u,currentLevel:d(a),crossedLevel:"below"===u?d(e):d(e-1)})}if(!e.isSeasonalMonth){let e=Math.abs(a-49.5);e<=n&&l.push({kind:"neutralSplit",threshold:50,effectiveThreshold:49.5,rawScore:a,distance:o(e),side:Math.round(a)>=50?"above":"below",currentLevel:d(a),crossedLevel:"中和"})}return l.sort((e,t)=>e.distance-t.distance||e.threshold-t.threshold)}({rawScore:l,isSeasonalMonth:u.includes(n)}),{dayMaster:m,dayElement:g,monthBranch:h,crossings:s}={dayMaster:t,dayElement:a,monthBranch:n,crossings:r};return s.map(e=>{let t=e=>b({dayMaster:m,dayElement:g,monthBranch:h,strength:d(e),roundedScore:Math.round(e)}),a=t(e.effectiveThreshold-.6),n=t(e.effectiveThreshold+.6);return{...e,severity:a.usefulGod===n.usefulGod&&a.avoidGod===n.avoidGod&&a.likeGod===n.likeGod&&a.jealousGod===n.jealousGod&&a.leisureGod===n.leisureGod?"label":"decisive"}})}function ea(e){let t=e.day.heavenly,a=ee(e);return function(e){var t,a,n;let l=b(e),i=(t=e.dayElement,a=e.strength,n=e.roundedScore,"极弱"===a||"偏弱"===a?y(t):"极强"===a||"偏强"===a?c(t):n>=50?r[t]:y(t)),u=p(e.monthBranch)?v(e.dayMaster,e.dayElement,e.monthBranch).usefulGod:null;return{fuyi:i,tiaohou:u,chosen:l.usefulGod,chosenFrom:l.layer,agree:null===u||u===i,strength:e.strength}}({dayMaster:t,dayElement:T[t],monthBranch:e.month.earthly,strength:a.strength,roundedScore:a.score})}},57955:(e,t,a)=>{a.d(t,{AH:()=>n});let n="v5"}}]);

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.