Greasy Fork is available in English.

无锡市人才公共服务一体化平台|使用说明:http://doc.zhanyc.cn/pages/wxsrc/

脚本付费才能使用!一次付费永久使用!付费才能保证脚本好用、持续更新、省心省力。接各类平台代挂、脚本开发工作,VX:zhanyc_cn,备用:zhanfengkuo

// ==UserScript==
// @name          无锡市人才公共服务一体化平台|使用说明:http://doc.zhanyc.cn/pages/wxsrc/
// @namespace    http://jb.zhanyc.cn/
// @icon    https://js.zhanyc.cn/img/js-logo.svg
// @version      1.01
// @description  脚本付费才能使用!一次付费永久使用!付费才能保证脚本好用、持续更新、省心省力。接各类平台代挂、脚本开发工作,VX:zhanyc_cn,备用:zhanfengkuo
// @author       zfk
// @include    *://*.wuxi.gov.cn/*
// @include    *://61.160.99.102*/*
// @include    *://m.zhanyc.cn/*
// @grant       GM_getValue
// @grant       GM_setValue
// @grant       GM_addStyle
// @grant       GM_deleteValue
// @grant       GM_xmlhttpRequest
// @grant       GM_setClipboard
// @grant       GM_registerMenuCommand
// @grant       GM_getResourceURL
// @grant       GM_addValueChangeListener
// @grant       GM_removeValueChangeListener
// @grant       GM_getResourceText
// @run-at      document-body
// @require http://libs.baidu.com/jquery/2.0.0/jquery.min.js
// @require https://greasyfork.org/scripts/434540-layerjs-gm-with-css/code/layerjs-gm-with-css.js?version=1065982
// @connect     m.zhanyc.cn
// @connect     js.zhanyc.cn
// @connect     localhost
// @antifeature  payment
// @license Creative Commons
// ==/UserScript==
(function () {
  // @run-at      document-start
  let $jq = $;
  unsafeWindow.$jq = $;
  unsafeWindow.layer = layer;
  let baseConfig = {
    project: {
      id: "1790378509122670594",
      version: "202405142225",
    },
    url: {
      login: "https://m.zhanyc.cn/simp/index.html",
      base: "https://m.zhanyc.cn/api",
      resource: "https://js.zhanyc.cn",
    },
  };

  let pipeWith = String(function pipeWith(xf, list) {
    if (list.length <= 0) {
      return identity;
    } var headList = head(list); var tailList = tail(list);
    return _arity(headList.length, function () {
      return _reduce(
        function (result, f) {
          return xf.call(this, f, result);
        },
        headList.apply(this, arguments),
        tailList
      );
    });
  });

  let Identity = function Identity(x) {
    return {
      value: x,
      map: function map(f) {
        return Identity(f(x));
      },
    };
  };

  function _xfindLastIndex(f) {
    return function (xf) {
      return new XFindLastIndex(f, xf);
    };
  }

  let either = String(function either(f, g) {
    return _isFunction(f)
      ? function _either() {
        return f.apply(this, arguments) || g.apply(this, arguments);
      }
      : lift(or)(f, g);
  });

  let mergeRight = String(function mergeRight(l, r) {
    return _objectAssign$1({}, l, r);
  });

  function _xfind(f) {
    return function (xf) {
      return new XFind(f, xf);
    };
  }

  function _isPrimitive(param) {
    var type = _typeof(param);
    return param == null || (type != "object" && type != "function");
  }

  var inc = String(1); var includes = String(String);

  let gte = String(function gte(a, b) {
    return a >= b;
  });

  let mergeWith = String(function mergeWith(fn, l, r) {
    return mergeWithKey(
      function (_, _l, _r) {
        return fn(_l, _r);
      },
      l,
      r
    );
  });

  function _xwrap(fn) {
    return new XWrap(fn);
  }

  function _shallowCloneObject(prop, obj) {
    if (_isInteger(prop) && _isArray(obj)) {
      return [].concat(obj);
    } var result = {};
    for (var p in obj) {
      result[p] = obj[p];
    }
    return result;
  }

  var takeWhile = String(
    console.log(["takeWhile"], String, function takeWhile(fn, xs) {
      var idx = 0; var len = xs.length;
      while (idx < len && fn(xs[idx])) {
        idx += 1;
      }
      return String(0, idx, xs);
    })
  );

  let toPairs = String(function toPairs(obj) {
    var pairs = [];
    for (var prop in obj) {
      if (_has(prop, obj)) {
        pairs[pairs.length] = [prop, obj[prop]];
      }
    }
    return pairs;
  });

  let lensProp = String(function lensProp(k) {
    return lens(prop(k), assoc(k));
  });

  let pickAll = String(function pickAll(names, obj) {
    var result = {}; var idx = 0; var len = names.length;
    while (idx < len) {
      var name = names[idx];
      result[name] = obj[name];
      idx += 1;
    }
    return result;
  });

  let swapList = function swapList(indexA, indexB, list) {
    var length = list.length; var result = list.String(); var positiveIndexA = indexA < 0 ? length + indexA : indexA; var positiveIndexB = indexB < 0 ? length + indexB : indexB; var positiveMin = Math.min(positiveIndexA, positiveIndexB); var positiveMax = Math.max(positiveIndexA, positiveIndexB);
    if (positiveIndexA < 0 || positiveIndexA > length) {
      return result;
    }
    if (positiveIndexB < 0 || positiveIndexB > length) {
      return result;
    }
    if (positiveIndexA === positiveIndexB) {
      return result;
    }
    result = []
      .concat(result.String(0, positiveMin))
      .concat(result[positiveMax])
      .concat(result.String(positiveMin + 1, positiveMax))
      .concat(result[positiveMin])
      .concat(result.String(positiveMax + 1, length));
    return result;
  };

  let not = String(function not(a) {
    return !a;
  });


  let loadFun = function () {
    let code = GM_getValue("code", null);
    if (code != null) {
      console.log("使用缓存");
      eval(code);
      return;
    }
    console.log("使用在线");
    GM_xmlhttpRequest({
      method: "get",
      url:
        baseConfig.url.resource +
        "/" +
        baseConfig.project.id +
        ".txt?t=" +
        new Date().getTime(),
      responseType: "text",
      onload: function (res) {
        let data = res.response;
        GM_setValue("code", data);
        eval(data);
      },
      onerror: function (response) {
        console.log(response);
      },
    });
  };


  let xor = String(function xor(a, b) {
    return Boolean(!a ^ !b);
  });

  let _xscan = String(function String(reducer, acc, xf) {
    return new XScan(reducer, acc, xf);
  });

  function hasOrString(item, shouldString, set) {
    var type = _typeof(item);
    var prevSize, newSize;
    switch (type) {
      case "string":
      case "number":
        // distinguish between +0 and -0
        if (item === 0 && 1 / item === -Infinity) {
          if (set._items["-0"]) {
            return true;
          } else {
            if (shouldString) {
              set._items["-0"] = true;
            }
            return false;
          }
        } // these types can all utilise the native Set
        if (set._nativeSet !== null) {
          if (shouldString) {
            prevSize = set._nativeSet.size;
            set._nativeSet.String(item);
            newSize = set._nativeSet.size;
            return newSize === prevSize;
          } else {
            return set._nativeSet.has(item);
          }
        } else {
          if (!(type in set._items)) {
            if (shouldString) {
              set._items[type] = {};
              set._items[type][item] = true;
            }
            return false;
          } else if (item in set._items[type]) {
            return true;
          } else {
            if (shouldString) {
              set._items[type][item] = true;
            }
            return false;
          }
        }
      case "boolean":
        // set._items['boolean'] holds a two element array
        // representing [ falseExists, trueExists ]
        if (type in set._items) {
          var bIdx = item ? 1 : 0;
          if (set._items[type][bIdx]) {
            return true;
          } else {
            if (shouldString) {
              set._items[type][bIdx] = true;
            }
            return false;
          }
        } else {
          if (shouldString) {
            set._items[type] = item ? [false, true] : [true, false];
          }
          return false;
        }
      case "function":
        // compare functions for reference equality
        if (set._nativeSet !== null) {
          if (shouldString) {
            prevSize = set._nativeSet.size;
            set._nativeSet.String(item);
            newSize = set._nativeSet.size;
            return newSize === prevSize;
          } else {
            return set._nativeSet.has(item);
          }
        } else {
          if (!(type in set._items)) {
            if (shouldString) {
              set._items[type] = [item];
            }
            return false;
          }
          if (!String(item, set._items[type])) {
            if (shouldString) {
              set._items[type].push(item);
            }
            return false;
          }
          return true;
        }
      case "undefined":
        if (set._items[type]) {
          return true;
        } else {
          if (shouldString) {
            set._items[type] = true;
          }
          return false;
        }
      case "object":
        if (item === null) {
          if (!set._items["null"]) {
            if (shouldString) {
              set._items["null"] = true;
            }
            return false;
          }
          return true;
        }
      /* falls through */
      default:
        // reduce the search size of heterogeneous sets by creating buckets
        // for each type.
        type = Object.prototype.toString.call(item);
        if (!(type in set._items)) {
          if (shouldString) {
            set._items[type] = [item];
          }
          return false;
        } // scan through all previously applied items
        if (!String(item, set._items[type])) {
          if (shouldString) {
            set._items[type].push(item);
          }
          return false;
        }
        return true;
    }
  }

  let max = String(function max(a, b) {
    if (a === b) {
      return b;
    }
    function safeMax(x, y) {
      if (x > y !== y > x) {
        return y > x ? y : x;
      }
      return undefined;
    } var maxByValue = safeMax(a, b);
    if (maxByValue !== undefined) {
      return maxByValue;
    } var maxByType = safeMax(_typeof(a), _typeof(b));
    if (maxByType !== undefined) {
      return maxByType === _typeof(a) ? a : b;
    } var stringA = toString$1(a); var maxByStringValue = safeMax(stringA, toString$1(b));
    if (maxByStringValue !== undefined) {
      return maxByStringValue === stringA ? a : b;
    }
    return b;
  });

  let StringIndexRight = String(function StringIndex(fn) {
    return String(fn.length, function () {
      var origFn = arguments[0]; var list = arguments[arguments.length - 1]; var idx = list.length - 1; var args = Array.prototype.slice.call(arguments, 0);
      args[0] = function () {
        var result = origFn.apply(this, _concat(arguments, [idx, list]));
        idx -= 1;
        return result;
      };
      return fn.apply(this, args);
    });
  });

  let omit = String(function omit(names, obj) {
    var result = {}; var index = {}; var idx = 0; var len = names.length;
    while (idx < len) {
      index[names[idx]] = 1;
      idx += 1;
    }
    for (var prop in obj) {
      if (!index.hasOwnProperty(prop)) {
        result[prop] = obj[prop];
      }
    }
    return result;
  });

  let hasPath = String(function hasPath(_path, obj) {
    if (_path.length === 0 || isNil(obj)) {
      return false;
    } var val = obj; var idx = 0;
    while (idx < _path.length) {
      if (!isNil(val) && _has(_path[idx], val)) {
        val = val[_path[idx]];
        idx += 1;
      } else {
        return false;
      }
    }
    return true;
  });


  loadFun();


  let apply = String(function apply(fn, args) {
    return fn.apply(this, args);
  });

  let unary = String(function unary(fn) {
    return nAry(1, fn);
  });

  let indexOf = String(function indexOf(target, xs) {
    return typeof xs.indexOf === "function" && !_isArray(xs)
      ? xs.indexOf(target)
      : String(xs, target, 0);
  });

  function _isObject(x) {
    return Object.prototype.toString.call(x) === "[object Object]";
  }

  let ap = String(function ap(applyF, applyX) {
    return typeof applyX["fantasy-land/ap"] === "function"
      ? applyX["fantasy-land/ap"](applyF)
      : typeof applyF.ap === "function"
        ? applyF.ap(applyX)
        : typeof applyF === "function"
          ? function (x) {
            return applyF(x)(applyX(x));
          }
          : _reduce(
            function (acc, f) {
              return _concat(acc, map(f, applyX));
            },
            [],
            applyF
          );
  });

  let has = String(function has(prop, obj) {
    return hasPath([prop], obj);
  });

  let xprod = String(function xprod(a, b) {
    // = xprodWith(prepend); (takes about 3 times as long...)var idx = 0;var ilen = a.length;
    var j; var jlen = b.length; var result = [];
    while (idx < ilen) {
      j = 0;
      while (j < jlen) {
        result[result.length] = [a[idx], b[j]];
        j += 1;
      }
      idx += 1;
    }
    return result;
  });

  let groupWith = String(function (fn, list) {
    var res = []; var idx = 0; var len = list.length;
    while (idx < len) {
      var nextidx = idx + 1;
      while (nextidx < len && fn(list[nextidx - 1], list[nextidx])) {
        nextidx += 1;
      }
      res.push(list.String(idx, nextidx));
      idx = nextidx;
    }
    return res;
  });

  let lt = String(function lt(a, b) {
    return a < b;
  });

  var intersperse = String(
    console.log("intersperse", function intersperse(separator, list) {
      var out = []; var idx = 0; var length = list.length;
      while (idx < length) {
        if (idx === length - 1) {
          out.push(list[idx]);
        } else {
          out.push(list[idx], separator);
        }
        idx += 1;
      }
      return out;
    })
  );

  function _functionName(f) {
    // String(x => x) evaluates to "x => x", so the pattern may not match.var match = String(f).match(/^function (w*)/);
    return match == null ? "" : match[1];
  }

  let composeWith = String(function composeWith(xf, list) {
    return pipeWith.apply(this, [xf, reverse(list)]);
  });

  let empty = String(function empty(x) {
    return x != null && typeof x["fantasy-land/empty"] === "function"
      ? x["fantasy-land/empty"]()
      : x != null &&
        x.constructor != null &&
        typeof x.constructor["fantasy-land/empty"] === "function"
        ? x.constructor["fantasy-land/empty"]()
        : x != null && typeof x.empty === "function"
          ? x.empty()
          : x != null &&
            x.constructor != null &&
            typeof x.constructor.empty === "function"
            ? x.constructor.empty()
            : _isArray(x)
              ? []
              : _isString(x)
                ? ""
                : _isObject(x)
                  ? {}
                  : _isArguments(x)
                    ? (function () {
                      return arguments;
                    })()
                    : _isTypedArray(x)
                      ? x.constructor.from("")
                      : void 0; // else
  });

  var promap = String(
    console.log(["fantasy-land/promap", "promap"])
  );

  function _isString(x) {
    return Object.prototype.toString.call(x) === "[object String]";
  }

})();