UNPKG

phoenix-ui

Version:
18 lines 416 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom"),require("CSSTransitionGroup")):"function"==typeof define&&define.amd?define(["react","react-dom","CSSTransitionGroup"],e):"object"==typeof exports?exports.Phoenix=e(require("react"),require("react-dom"),require("CSSTransitionGroup")):t.Phoenix=e(t.React,t.ReactDOM,t.CSSTransitionGroup)}(this,function(t,e,o){return function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var o={};return e.m=t,e.c=o,e.p="",e(0)}([function(t,e,o){t.exports=o(24)},,,,,,,,,,,,,,,,,,,,,,,,function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=o(25),i=n(r);e.Button=i.default;var a=o(69),l=n(a);e.ButtonGroup=l.default;var s=o(72),p=n(s);e.Input=p.default;var c=o(75),u=n(c);e.Checkbox=u.default;var h=o(78),d=n(h);e.Radio=d.default;var f=o(79),b=n(f);e.Textarea=b.default;var g=o(82),m=n(g);e.Switch=m.default;var y=o(85),v=n(y);e.Grid=v.default;var x=o(86),w=n(x);e.Row=w.default;var k=o(87),E=n(k);e.Col=E.default;var P=o(88),O=n(P);e.Tab=O.default;var z=o(89),M=n(z);e.Tabset=M.default;var C=o(92),S=n(C);e.Label=S.default;var A=o(95),T=n(A);e.Badge=T.default;var j=o(98),I=n(j);e.Star=I.default;var Z=o(101),W=n(Z);e.Drag=W.default;var N=o(102),J=n(N);e.Swipe=J.default;var L=o(105),U=n(L);e.Dialog=U.default;var X=o(113),V=n(X);e.Alert=V.default;var Y=o(114),R=n(Y);e.Prompt=R.default;var H=o(115),D=n(H);e.Toast=D.default;var G=o(118),Q=n(G);e.Popup=Q.default;var K=o(121),q=n(K);e.Accordion=q.default;var F=o(124),B=n(F);e.Popover=B.default;var _=o(127),$=n(_);e.Slider=$.default;var tt=o(107),et=n(tt);e.Animate=et.default;var ot=o(47),nt=n(ot);e.Icon=nt.default;var rt=o(130),it=n(rt);e.Menu=it.default;var at=o(140),lt=n(at);e.ImageList=lt.default;var st=o(143),pt=n(st);e.Image=pt.default;var ct=o(146),ut=n(ct);e.Steps=ut.default;var ht=o(134),dt=n(ht);e.List=dt.default;var ft=o(149),bt=n(ft);e.SearchBar=bt.default;var gt=o(152),mt=n(gt);e.PullUp=mt.default;var yt=o(155),vt=n(yt);e.PhFilter=vt.default},function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t},l=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),s=o(26),p=n(s),c=o(27),u=n(c),h=o(34),d=n(h),f=o(35),b=n(f),g=o(47),m=n(g),y=o(43),v=n(y);o(48),o(67);var x=function(t){function e(o,n){r(this,e),t.call(this,o,n),new v.default("Button")}return i(e,t),l(e,null,[{key:"propTypes",value:{phSize:u.default.string,phStyle:u.default.string,classPrefix:u.default.string,componentTag:u.default.string,block:u.default.bool,hollow:u.default.bool,disabled:u.default.bool,await:u.default.bool,active:u.default.bool,phIcon:u.default.string,stable:u.default.bool},enumerable:!0},{key:"defaultProps",value:{phSize:"sm",phStyle:"primary",classPrefix:"button",componentTag:"button",classMapping:{primary:"primary",info:"info",success:"success",error:"error",warning:"warning",danger:"danger",link:"link",gray:"gray"}},enumerable:!0}]),e.prototype.clickCallback=function t(e){var o=this.props,t=o.clickCallback,n=o.onClick;t&&t(e),n&&n(e)},e.prototype.renderIcon=function(){var t=this.props.phIcon;return t?p.default.createElement(m.default,{phIcon:t}):""},e.prototype.renderButton=function(){var t=this.props,e=t.componentTag,o=t.className,n=t.style,r=t.children;return p.default.createElement(e,a({},this.otherProps,{className:b.default(this.getProperty(!0),o),style:this.getStyles(n),onClick:this.clickCallback.bind(this)}),p.default.createElement("span",{className:this.setPhPrefix("inner")},this.renderIcon(),r))},e.prototype.render=function(){return this.renderButton()},e}(d.default);e.default=x,t.exports=e.default},function(e,o){e.exports=t},function(t,e,o){(function(e){if("production"!==e.env.NODE_ENV){var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n},i=!0;t.exports=o(29)(r,i)}else t.exports=o(33)()}).call(e,o(28))},function(t,e){function o(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function r(t){if(c===setTimeout)return setTimeout(t,0);if((c===o||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function i(t){if(u===clearTimeout)return clearTimeout(t);if((u===n||!u)&&clearTimeout)return u=clearTimeout,clearTimeout(t);try{return u(t)}catch(e){try{return u.call(null,t)}catch(e){return u.call(this,t)}}}function a(){b&&d&&(b=!1,d.length?f=d.concat(f):g=-1,f.length&&l())}function l(){if(!b){var t=r(a);b=!0;for(var e=f.length;e;){for(d=f,f=[];++g<e;)d&&d[g].run();g=-1,e=f.length}d=null,b=!1,i(t)}}function s(t,e){this.fun=t,this.array=e}function p(){}var c,u,h=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:o}catch(t){c=o}try{u="function"==typeof clearTimeout?clearTimeout:n}catch(t){u=n}}();var d,f=[],b=!1,g=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)e[o-1]=arguments[o];f.push(new s(t,e)),1!==f.length||b||r(l)},s.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=p,h.addListener=p,h.once=p,h.off=p,h.removeListener=p,h.removeAllListeners=p,h.emit=p,h.prependListener=p,h.prependOnceListener=p,h.listeners=function(t){return[]},h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,o){(function(e){"use strict";function n(){return null}var r=o(30),i=o(31),a=o(32),l=function(){};"production"!==e.env.NODE_ENV&&(l=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}),t.exports=function(t,o){function s(t){var e=t&&(S&&t[S]||t[A]);if("function"==typeof e)return e}function p(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function c(t){this.message=t,this.stack=""}function u(t){function n(n,s,p,u,h,d,f){if(u=u||T,d=d||p,f!==i){if(o){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}if("production"!==e.env.NODE_ENV&&"undefined"!=typeof console){var g=u+":"+p;!r[g]&&a<3&&(l("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[g]=!0,a++)}}return null==s[p]?n?new c(null===s[p]?"The "+h+" `"+d+"` is marked as required "+("in `"+u+"`, but its value is `null`."):"The "+h+" `"+d+"` is marked as required in "+("`"+u+"`, but its value is `undefined`.")):null:t(s,p,u,h,d)}if("production"!==e.env.NODE_ENV)var r={},a=0;var s=n.bind(null,!1);return s.isRequired=n.bind(null,!0),s}function h(t){function e(e,o,n,r,i,a){var l=e[o],s=O(l);if(s!==t){var p=z(l);return new c("Invalid "+r+" `"+i+"` of type "+("`"+p+"` supplied to `"+n+"`, expected ")+("`"+t+"`."))}return null}return u(e)}function d(){return u(n)}function f(t){function e(e,o,n,r,a){if("function"!=typeof t)return new c("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var l=e[o];if(!Array.isArray(l)){var s=O(l);return new c("Invalid "+r+" `"+a+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an array."))}for(var p=0;p<l.length;p++){var u=t(l,p,n,r,a+"["+p+"]",i);if(u instanceof Error)return u}return null}return u(e)}function b(){function e(e,o,n,r,i){var a=e[o];if(!t(a)){var l=O(a);return new c("Invalid "+r+" `"+i+"` of type "+("`"+l+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return u(e)}function g(t){function e(e,o,n,r,i){if(!(e[o]instanceof t)){var a=t.name||T,l=C(e[o]);return new c("Invalid "+r+" `"+i+"` of type "+("`"+l+"` supplied to `"+n+"`, expected ")+("instance of `"+a+"`."))}return null}return u(e)}function m(t){function o(e,o,n,r,i){for(var a=e[o],l=0;l<t.length;l++)if(p(a,t[l]))return null;var s=JSON.stringify(t);return new c("Invalid "+r+" `"+i+"` of value `"+a+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return Array.isArray(t)?u(o):("production"!==e.env.NODE_ENV?l("Invalid argument supplied to oneOf, expected an instance of array."):void 0,n)}function y(t){function e(e,o,n,r,a){if("function"!=typeof t)return new c("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var l=e[o],s=O(l);if("object"!==s)return new c("Invalid "+r+" `"+a+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an object."));for(var p in l)if(l.hasOwnProperty(p)){var u=t(l,p,n,r,a+"."+p,i);if(u instanceof Error)return u}return null}return u(e)}function v(t){function o(e,o,n,r,a){for(var l=0;l<t.length;l++){var s=t[l];if(null==s(e,o,n,r,a,i))return null}return new c("Invalid "+r+" `"+a+"` supplied to "+("`"+n+"`."))}if(!Array.isArray(t))return"production"!==e.env.NODE_ENV?l("Invalid argument supplied to oneOfType, expected an instance of array."):void 0,n;for(var r=0;r<t.length;r++){var a=t[r];if("function"!=typeof a)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+M(a)+" at index "+r+"."),n}return u(o)}function x(){function t(t,e,o,n,r){return E(t[e])?null:new c("Invalid "+n+" `"+r+"` supplied to "+("`"+o+"`, expected a ReactNode."))}return u(t)}function w(t){function e(e,o,n,r,a){var l=e[o],s=O(l);if("object"!==s)return new c("Invalid "+r+" `"+a+"` of type `"+s+"` "+("supplied to `"+n+"`, expected `object`."));for(var p in t){var u=t[p];if(u){var h=u(l,p,n,r,a+"."+p,i);if(h)return h}}return null}return u(e)}function k(t){function e(e,o,n,a,l){var s=e[o],p=O(s);if("object"!==p)return new c("Invalid "+a+" `"+l+"` of type `"+p+"` "+("supplied to `"+n+"`, expected `object`."));var u=r({},e[o],t);for(var h in u){var d=t[h];if(!d)return new c("Invalid "+a+" `"+l+"` key `"+h+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(e[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var f=d(s,h,n,a,l+"."+h,i);if(f)return f}return null}return u(e)}function E(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(E);if(null===e||t(e))return!0;var o=s(e);if(!o)return!1;var n,r=o.call(e);if(o!==e.entries){for(;!(n=r.next()).done;)if(!E(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!E(i[1]))return!1}return!0;default:return!1}}function P(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function O(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":P(e,t)?"symbol":e}function z(t){if("undefined"==typeof t||null===t)return""+t;var e=O(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function M(t){var e=z(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}function C(t){return t.constructor&&t.constructor.name?t.constructor.name:T}var S="function"==typeof Symbol&&Symbol.iterator,A="@@iterator",T="<<anonymous>>",j={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:d(),arrayOf:f,element:b(),instanceOf:g,node:x(),objectOf:y,oneOf:m,oneOfType:v,shape:w,exact:k};return c.prototype=Error.prototype,j.checkPropTypes=a,j.PropTypes=j,j}}).call(e,o(28))},function(t,e){/* object-assign (c) Sindre Sorhus @license MIT */ "use strict";function o(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function n(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},o=0;o<10;o++)e["_"+String.fromCharCode(o)]=o;var n=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==n.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=n()?Object.assign:function(t,e){for(var n,l,s=o(t),p=1;p<arguments.length;p++){n=Object(arguments[p]);for(var c in n)i.call(n,c)&&(s[c]=n[c]);if(r){l=r(n);for(var u=0;u<l.length;u++)a.call(n,l[u])&&(s[l[u]]=n[l[u]])}}return s}},function(t,e){"use strict";var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=o},function(t,e,o){(function(e){"use strict";function n(t,o,n,l,s){if("production"!==e.env.NODE_ENV)for(var p in t)if(t.hasOwnProperty(p)){var c;try{if("function"!=typeof t[p]){var u=Error((l||"React class")+": "+n+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[p]+"`.");throw u.name="Invariant Violation",u}c=t[p](o,p,l,n,null,i)}catch(t){c=t}if(!c||c instanceof Error||r((l||"React class")+": type specification of "+n+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in a)){a[c.message]=!0;var h=s?s():"";r("Failed "+n+" type: "+c.message+(null!=h?h:""))}}}var r=function(){};if("production"!==e.env.NODE_ENV){var i=o(31),a={};r=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}}t.exports=n}).call(e,o(28))},function(t,e,o){"use strict";function n(){}var r=o(31);t.exports=function(){function t(t,e,o,n,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function e(){return t}t.isRequired=t;var o={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return o.checkPropTypes=n,o.PropTypes=o,o}},function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var a=o(26),l=n(a),s=o(35),p=(n(s),o(36)),c=n(p),u=o(37),h=(n(u),o(38)),d=n(h),f=o(40),b=n(f),g=o(42),m=n(g),y=o(39),v=o(43),x=n(v);new x.default("phoenix-ui");var w=function(t){function e(e,n,i){r(this,o),t.call(this,e,n),i&&this.setDefaultState(i),this._properties=[],this._styles=[],this.otherProps={},this.initCallback(this),this.replaceProperties(),this.registerMethod(this.otherProps)}i(e,t),e.prototype.setPhPrefix=function(t,e){return e?"ph-"+t:"ph-"+this.classPrefix+"-"+t},e.prototype.setDefaultState=function(t){this.state=c.default({},{_isShow:!1,_checked:!1,_active:!1},t||{})},e.prototype.uniqueId=function(){return(this.classPrefix||"unique")+"_"+((new Date).getTime()+(1e10*Math.random()).toFixed(0))},e.prototype.initCallback=function(){this.props.initCallback&&this.props.initCallback(this)},e.prototype.componentWillMount=function(){},e.prototype.shouldComponentUpdate=function(t,e){return this.replaceProperties(t),!0},e.prototype.componentDidMount=function(){this.loadedCallback&&this.loadedCallback(this)},e.prototype.registerMethod=function(t){var e=null;for(var o in t)e=this.methods[o],e&&this.setMethod(o,t[o])},e.prototype.setMethod=function(t,e){if(null==t.match("Callback"))throw new Error("The callback method name format is wrong, should be "+t+"Callback");this[t]||(this[t]=function(t){var e=t;return function(){return e.apply(e,Array.prototype.slice.call(arguments,0))}}(e))},e.prototype.execMethod=function(t){var e,o=arguments;return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(e=null,t=t.indexOf("Callback")!=-1?t:t+"Callback",!this[t]){n.next=6;break}return n.next=5,regeneratorRuntime.awrap(this[t].apply(this[t],Array.prototype.slice.call(o,1).concat(this)));case 5:e=n.sent;case 6:return n.abrupt("return",e);case 7:case"end":return n.stop()}},null,this)},e.prototype.setProperty=function(t,e){void 0!==e&&(this.properties[t]=e,void 0===this.props[t]||this.props[t]||this.updateProperty({key:t,value:e},this._properties,this._styles,this.otherProps))},e.prototype.filterClass=function(t){var e="string"==typeof t?this.props.classMapping[t]:t;return e?e:t},e.prototype.updateProperty=function(t,e,o,n){var r=t.key,i=t.value,a=this.properties[r],l="property";if(a)switch(typeof a){case"boolean":i&&e.push(this.filterClass(r));break;case"function":var s=a.call(this,i);"string"==typeof s?e.push(this.filterClass(s)):s.type&&s.type==l?this[r]=s.value:o.push(s);break;default:e.push(this.filterClass(a))}else y.propsConstants[r]||(n[r]=i)},e.prototype.replaceProperties=function(t){var e=[],o=[],n={};t=t?t:this.props;for(var r in t)this.updateProperty({key:r,value:t[r]},e,o,n);this._properties=e,this._styles=o,this.otherProps=n},e.prototype.getProperty=function(){var t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0],e=arguments.length<=1||void 0===arguments[1]||arguments[1],o=this.classPrefix?this.classPrefix+" ":"";return o+=this._properties.join(" "),this.getClassName(o,t,e)},e.prototype.getStyles=function(){for(var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e={},o=this._styles,n=0,r=o.length;n<r;n++)e=c.default({},e,o[n]);return c.default({},e,t)},e.prototype.show=function(){this.setState({_isShow:!0})},e.prototype.hide=function(){this.setState({_isShow:!1})},e.prototype.trim=function(t){return t.replace(/(^\s*)|(\s*$)/g,"")},e.prototype.getDisplay=function(){return this.state._isShow},e.prototype.render=function(){return l.default.createElement("h1",null,"请重写父类render()方法")};var o=e;return e=m.default(e)||e,e=b.default(e)||e,e=d.default(e)||e}(a.Component);e.default=w,t.exports=e.default},function(t,e,o){var n,r;/*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ !function(){"use strict";function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var r=typeof n;if("string"===r||"number"===r)t.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&t.push(a)}else if("object"===r)for(var l in n)i.call(n,l)&&n[l]&&t.push(l)}}return t.join(" ")}var i={}.hasOwnProperty;"undefined"!=typeof t&&t.exports?(o.default=o,t.exports=o):(n=[],r=function(){return o}.apply(e,n),!(void 0!==r&&(t.exports=r)))}()},function(t,e){"use strict";var o=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},l=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var e=o.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&o.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!r)return!1;var i;for(i in t);return"undefined"==typeof i||o.call(t,i)},s=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},p=function(t,e){if("__proto__"===e){if(!o.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,o,n,r,i,c,u=arguments[0],h=1,d=arguments.length,f=!1;for("boolean"==typeof u&&(f=u,u=arguments[1]||{},h=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});h<d;++h)if(e=arguments[h],null!=e)for(o in e)n=p(u,o),r=p(e,o),u!==r&&(f&&r&&(l(r)||(i=a(r)))?(i?(i=!1,c=n&&a(n)?n:[]):c=n&&l(n)?n:{},s(u,{name:o,newValue:t(f,c,r)})):"undefined"!=typeof r&&s(u,{name:o,newValue:r}));return u}},function(t,e,o){var n;!function(){"use strict";/** * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. * * @codingstandard ftlabs-jsv2 * @copyright The Financial Times Limited [All Rights Reserved] * @license MIT License (see LICENSE.txt) */ function r(t,e){function o(t,e){return function(){return t.apply(e,arguments)}}var n;if(e=e||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=e.touchBoundary||10,this.layer=t,this.tapDelay=e.tapDelay||200,this.tapTimeout=e.tapTimeout||700,!r.notNeeded(t)){for(var i=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],l=this,s=0,p=i.length;s<p;s++)l[i[s]]=o(l[i[s]],l);a&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,o,n){var r=Node.prototype.removeEventListener;"click"===e?r.call(t,e,o.hijacked||o,n):r.call(t,e,o,n)},t.addEventListener=function(e,o,n){var r=Node.prototype.addEventListener;"click"===e?r.call(t,e,o.hijacked||(o.hijacked=function(t){t.propagationStopped||o(t)}),n):r.call(t,e,o,n)}),"function"==typeof t.onclick&&(n=t.onclick,t.addEventListener("click",function(t){n(t)},!1),t.onclick=null)}}var i=navigator.userAgent.indexOf("Windows Phone")>=0,a=navigator.userAgent.indexOf("Android")>0&&!i,l=/iP(ad|hone|od)/.test(navigator.userAgent)&&!i,s=l&&/OS 4_\d(_\d)?/.test(navigator.userAgent),p=l&&/OS [6-7]_\d/.test(navigator.userAgent),c=navigator.userAgent.indexOf("BB10")>0;r.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(l&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},r.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!a;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},r.prototype.sendClick=function(t,e){var o,n;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),n=e.changedTouches[0],o=document.createEvent("MouseEvents"),o.initMouseEvent(this.determineEventType(t),!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),o.forwardedTouchEvent=!0,t.dispatchEvent(o)},r.prototype.determineEventType=function(t){return a&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},r.prototype.focus=function(t){var e;l&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},r.prototype.updateScrollParent=function(t){var e,o;if(e=t.fastClickScrollParent,!e||!e.contains(t)){o=t;do{if(o.scrollHeight>o.offsetHeight){e=o,t.fastClickScrollParent=o;break}o=o.parentElement}while(o)}e&&(e.fastClickLastScrollTop=e.scrollTop)},r.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},r.prototype.onTouchStart=function(t){var e,o,n;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),o=t.targetTouches[0],l){if(n=window.getSelection(),n.rangeCount&&!n.isCollapsed)return!0;if(!s){if(o.identifier&&o.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=o.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=o.pageX,this.touchStartY=o.pageY,t.timeStamp-this.lastClickTime<this.tapDelay&&t.preventDefault(),!0},r.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],o=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>o||Math.abs(e.pageY-this.touchStartY)>o},r.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0)},r.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},r.prototype.onTouchEnd=function(t){var e,o,n,r,i,c=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,o=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,p&&(i=t.changedTouches[0],c=document.elementFromPoint(i.pageX-window.pageXOffset,i.pageY-window.pageYOffset)||c,c.fastClickScrollParent=this.targetElement.fastClickScrollParent),n=c.tagName.toLowerCase(),"label"===n){if(e=this.findControl(c)){if(this.focus(c),a)return!1;c=e}}else if(this.needsFocus(c))return t.timeStamp-o>100||l&&window.top!==window&&"input"===n?(this.targetElement=null,!1):(this.focus(c),this.sendClick(c,t),l&&"select"===n||(this.targetElement=null,t.preventDefault()),!1);return!(!l||s||(r=c.fastClickScrollParent,!r||r.fastClickLastScrollTop===r.scrollTop))||(this.needsClick(c)||(t.preventDefault(),this.sendClick(c,t)),!1)},r.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},r.prototype.onMouse=function(t){return!this.targetElement||(!!t.forwardedTouchEvent||(!t.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1))))},r.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail||(e=this.onMouse(t),e||(this.targetElement=null),e)},r.prototype.destroy=function(){var t=this.layer;a&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},r.notNeeded=function(t){var e,o,n,r;if("undefined"==typeof window.ontouchstart)return!0;if(o=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!a)return!0;if(e=document.querySelector("meta[name=viewport]")){if(e.content.indexOf("user-scalable=no")!==-1)return!0;if(o>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(c&&(n=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),n[1]>=10&&n[2]>=3&&(e=document.querySelector("meta[name=viewport]")))){if(e.content.indexOf("user-scalable=no")!==-1)return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction||(r=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],!!(r>=27&&(e=document.querySelector("meta[name=viewport]"),e&&(e.content.indexOf("user-scalable=no")!==-1||document.documentElement.scrollWidth<=window.outerWidth)))||("none"===t.style.touchAction||"manipulation"===t.style.touchAction))},r.attach=function(t,e){return new r(t,e)},n=function(){return r}.call(e,o,e,t),!(void 0!==n&&(t.exports=n))}()},function(t,e,o){"use strict";e.__esModule=!0;var n=o(39),r=n.classConstants,i="ph-";e.default=function(t){t.prototype.getClassName=function(t){var e=arguments.length<=1||void 0===arguments[1]||arguments[1],o=arguments.length<=2||void 0===arguments[2]||arguments[2];t=t?t:"",t=(t+"").split(" ");var n=[],r=this;return t.forEach(function(t){t&&(o?n.push(i+r.setPrefix(t,e)):n.push(r.setPrefix(t,e)))}),n.join(" ")},t.prototype.getClassNames=function(t){var e=arguments.length<=1||void 0===arguments[1]||arguments[1],o={};for(var n in t)t[n]&&n===r[n]&&(o[this.getClassName(n,e)]=!0);return o},t.prototype.getClassNamesForArguments=function(){var t=arguments,e=[],o=this;if(t&&t.length>0)for(var n=0,r=t.length;n<r;n++)t[n]&&e.push(o.getClassName(t[n]));return e.join(" ")},t.prototype.setPrefix=function(t){var e=arguments.length<=1||void 0===arguments[1]||arguments[1],o=r.classNameNamespace?[r.classNameNamespace]:[];return e&&this.props.classPrefix&&o.push(this.props.classPrefix),t&&t!=this.props.classPrefix&&o.push(t),o.join(o.length>1?"-":"")},t.prototype.hasClass=function(t,e){return t&&t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))},t.prototype.addClass=function(t,e){t&&!this.hasClass(t,e)&&(t.className+=" "+e)},t.prototype.removeClass=function(t,e){if(t&&this.hasClass(t,e)){var o=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(o," ")}}},t.exports=e.default},function(t,e){"use strict";function o(t){return""+t}e.__esModule=!0;var n="",r={positive:o("positive"),negative:o("negative"),modest:o("modest"),warm:o("warm"),neutral:o("neutral"),light:o("light"),assertive:o("assertive"),balanced:o("balanced"),outline:o("outline"),awaiting:o("awaiting"),disabled:o("disabled"),enable:o("enable"),block:o("block"),tacked:o("tacked"),justify:o("justify"),active:o("active"),inline:o("inline"),size:o("size"),radius:o("radius"),round:o("round"),"arrow-up":o("arrow-up"),"arrow-down":o("arrow-down"),success:o("success"),error:o("error"),warning:o("warning"),danger:o("danger"),show:o("show"),white:o("white"),require:o("require"),jump:o("link"),right:o("lastItem"),classNameNamespace:n,vertical:o("vertical")};e.classConstants=r;var i={classPrefix:"classPrefix",componentTag:"componentTag",classMapping:"classMapping",phIcon:"phIcon",phReg:"phReg",phLabel:"phLabel",index:"index",activeIndex:"activeIndex",vertical:"vertical",visible:"visible",error:"error",clear:"clear",closeButton:"closeButton",shadowDisabled:"shadowDisabled",count:"count",navigate:"navigate",clickable:"clickable",getTarget:"getTarget",distance:"distance",changeActive:"changeActive",hideIcon:"hideIcon",changeVisible:"changeVisible",progress:"progress",range:"range",showRange:"showRange",duration:"duration",tipMode:"tipMode",tipStay:"tipStay",buttons:"buttons",tips:"tips",status:"status",column:"column",defaultSrc:"defaultSrc",lazy:"lazy",buttonText:"buttonText",showButton:"showButton",nowrap:"nowrap",hardware:"hardware",closeCallback:"closeCallback",clickCallback:"clickCallback",focusCallback:"focusCallback",blurCallback:"blurCallback",slideCallback:"slideCallback",dragCallback:"dragCallback",dropCallback:"dropCallback",loadCallback:"loadCallback",queryCallback:"queryCallback",clearCallback:"clearCallback",ceiling:"ceiling",headerHeight:"headerHeight",activeName:"activeName"};e.propsConstants=i},function(t,e,o){"use strict";e.__esModule=!0;var n=o(41);e.default=function(t){var e=function(t,e){var o=null!=(t.join(",")+",").match(e.toLowerCase()+",")?e:"";return o||n.warning("属性的取值 %s 不在设定集合 %s 里",e,t.join(",")),o},o={phType:function(t){return e(["default","tacked","justify","segmente","footer"],t)},phSize:function(t){return e(["default","xlg","lg","md","sm","xs","cover","contain"],t)},phStyle:function(t){return e(["default","primary","info","success","error","warning","danger","link","gray","light","positive","calm","balanced","energized","assertive","lightbrown","lightgray","tip"],t)},phStatus:function(t){e(["diabled","active","enable"],t)},align:function(t){return e(["center","left","middle","auto","top","right","bottom","stretch","baseline","start","end"],t)},placement:function(t){return e(["top","bottom","right","left","left-full","right-full","full-screen"],t)},disabled:!0,active:!0,radius:!0,round:!0,clearfix:!0,phHref:!0,show:!0,hide:!0,block:!0,hollow:!0,heading:!0,tail:!0,required:!0,stable:!0,await:!0,zIndex:function(t){return"string"==typeof t?{zIndex:t}:"zindex"},border:function(t){return"string"==typeof t?{border:t}:"border"},padding:function(t){return"string"==typeof t?{padding:t}:"padding"},margin:function(t){return"string"==typeof t?{margin:t}:"margin"},radiusSize:function(t){return{WebkitBorderRadius:t,borderRadius:t}},width:function(t){return""+t}.bind(t),offset:function(t){return"offset-"+t}.bind(t),classPrefix:function(t){return{type:"property",value:t}},componentTag:function(t){return{type:"property",value:t}},params:function(t){return{type:"property",value:t}}};t.prototype.properties=o},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var o=arguments,n={closest:function(t,e){var o;["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some(function(t){return"function"==typeof document.body[t]&&(o=t,!0)});for(var n;t;){if(t[o](e))return t;if(n=t.parentElement,n&&n[o](e))return n;t=n}return null},contains:function(t,e){if(t.compareDocumentPosition)return t===e||!!(16&t.compareDocumentPosition(e));if(t.contains&&1===e.nodeType)return t.contains(e)&&t!==e;for(;e=e.parentNode;)if(e===t)return!0;return!1},setPhPrefix:function(t){return"ph-"+t},getDeviceInfo:function(t){var e=navigator.userAgent,o={trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&e.indexOf("KHTML")==-1,mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Linux")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:e.indexOf("Safari")==-1};return o[t]},transToArray:function(t){switch(typeof t){case"string":var e=[];return e=t.split(",");case"number":return t.toString();default:return t}},warning:function(t){for(var e=o.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=o[r];if(void 0===t)throw new Error("`warning(format, ...args)` requires a warning message argument");var i=0,a="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.warn(a);try{throw new Error(a)}catch(t){}},getClientHeight:function(){return"BackCompat"==document.compatMode?document.body.clientHeight:document.documentElement.clientHeight},getScrollTop:function(){return document.documentElement.scrollTop||document.body.scrollTop},getDocumentHeight:function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},preventDefault:function(t){t.cancelable&&(t.defaultPrevented||t.preventDefault())},canUseDOM:function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}};e.default=n,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){var e={initCallback:!0,loadedCallback:!0,closeCallback:!0,successCallback:!0,cancelCallback:!0,checkedCallback:!0,activeCallback:!0,getValueCallback:!0,updateCallback:!0,deleteCallback:!0,queryCallback:!0,addCallback:!0,insertCallback:!0,ajaxCallback:!0,defaultCallback:!0};t.prototype.methods=e},t.exports=e.default},function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var i=o(44),a=n(i),l=window.location.host,s=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])/,p={},c=s.test(l);console.log("isLocal:",c),c?(p.id="65723430",p.url="http://future.test.sankuai.com/monitor/logstore/log/"):(p.id="66032663",p.url="//future.sankuai.com/monitor/logstore/log/"),p.repeat=1,p.combo=!0,p.delay=1e3,p.isGlobalError=!1;var u=null;u||(u=new a.default(p));var h=function t(e){r(this,t);try{u.info({msg:e,type:8})}catch(t){u.error({msg:t.toString(),type:2})}};e.default=h,t.exports=e.default},function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=o(45),i=n(r);e.default=i.default,t.exports=e.default},function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var i=o(36),a=n(i),l=o(46),s=n(l),p=!1,c=function(){function t(){var e=this,o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];r(this,t);try{var n;!function(){e.config=a.default({id:"",url:"//future.sankuai.com/monitor/logstore/log/",combo:!1,delay:"",random:1,repeat:10,level:4,onReport:function(t,e){},submit:null,isGlobalError:!0},o),e.errors=[],e.errorMap={},e.errorList=[],e.imgs=[],e.comboTimeout=null;var t=window.onerror;e.types=["jsError","globalError","catchError","ajaxError","404","500","cssError","htmlError","component","install","info"],n=parseInt(e.config.id,10),n&&(e.config.report=(e.config.url||"")+"?applyId="+n+"&"),e.errors.length&&e.send(),e.dom={},1!=p&&e.config.isGlobalError&&(window.onerror=function(o,n,r,i,a){e.onerror(o,n,r,i,a),t&&t(o,n,r,i,a)},s.default.addEvent(window,"DOMContentLoaded",function(){s.default.addEvent(document.body,"mousedown",function(t){var o=t.target;1===o.nodeType&&(e.dom=s.default.getPosition(t))})}),p=!0)}()}catch(t){console.log(t)}}return t.prototype.info=function(t){return t?(this.isObject(t)?(t.level=2,t.type||(t.type=10)):t={msg:t,level:2,type:10},this.pushMessage(t),this):this},t.prototype.log=function(t){return this.info(t)},t.prototype.debug=function(t){return t?(this.isObject(t)?t.level=1:t={msg:t,level:1},this.pushMessage(t),this):this},t.prototype.error=function(t){return t?(this.isObject(t)?t.level=4:t={msg:t,level:4},this.pushMessage(t),this):this},t.prototype.report=function(t){return t&&this.pushMessage(t),this.send(!0),this},t.prototype.errorTostring=function(t,e){var o=[],n=[],r=[];if(this.isObject(t)){t.level=t.level||this.config.level;for(var i in t){var a=t[i];if(!this.isEmpty(a)){if(this.isObject(a))try{a=JSON.stringify(a)}catch(t){a="[mslogger detect value stringify error] "+t.toString()}r.push(i+":"+a),o.push(i+"="+encodeURIComponent(a)),n.push(i+"["+e+"]="+encodeURIComponent(a))}}}return[n.join("&"),r.join(","),o.join("&")]},t.prototype.submit=function(t){if(this.config.submit)this.config.submit(t);else{var e=new Image;this.imgs.push(e),e.src=t}},t.prototype.send=function(t){var e=this;if(this.config.report){for(;this.errors.length;){var o=this.errors.shift();if(!this.isRepeat(o)){var n=this.errorTostring(o,this.errorList.length);this.config.combo?this.errorList.push(n[0]):this.submit(this.config.report+n[2]+"&t="+ +new Date),this.config.onReport&&this.config.onReport(this.config.id,o)}}var r=this.errorList.length;if(r){var i=function(){clearTimeout(e.comboTimeout),e.submit(e.config.report+e.errorList.join("&")+"&count="+e.errorList.length+"&t="+ +new Date),e.comboTimeout=0,e.errorList=[]};t?i():this.comboTimeout||(this.comboTimeout=setTimeout(i,this.config.delay))}}},t.prototype.isRepeat=function(t){if(!this.isObject(t))return!0;var e=t.msg,o=this.errorMap[e]=(parseInt(this.errorMap[e],10)||0)+1;return o>this.config.repeat},t.prototype.isObject=function(t){var e=typeof t;return"object"===e&&!!t},t.prototype.isEmpty=function(t){return null===t||!this.isOBJByType(t,"Number")&&!t},t.prototype.processError=function(t){try{if(t.stack){var e=t.stack.match("https?://[^\n]+");e=e?e[0]:"";var o=e.match(":(\\d+):(\\d+)");o||(o=[0,0,0]);var n=this.processStackMsg(t);return{msg:n,rowNum:o[1],colNum:o[2],target:e.replace(o[0],"")}}return t.name&&t.message&&t.description?{msg:JSON.stringify(t)}:t}catch(e){return t}},t.prototype.pushMessage=function(t){if(Math.random()>=this.config.random)return this;var e=this.isObject(t)?this.processError(t):{msg:t};if(e.from||(e.from=location.href),"undefined"==typeof e.type)e.type=this.types[0];else if(isNaN(e.type))return console.error("为正确传入type值,type值只能为int类型"),this;return e.type=this.types[e.type],this.errors.push(a.default(e,{title:encodeURIComponent(s.default.getPageInfo().title||""),domId:this.dom.id,domType:this.dom.type,domClass:this.dom.className,domX:this.dom.x,domY:this.dom.y})),this.dom={},this.send(),this},t.prototype.isOBJByType=function(t,e){return Object.prototype.toString.call(t)==="[object "+(e||"Object")+"]"},t.prototype.processStackMsg=function(t){var e=t.stack.replace(/\n/gi,"").split(/\bat\b/).slice(0,9).join("@").replace(/\?[^:]+/gi,""),o=t.toString();return e.indexOf(o)<0&&(e=o+"@"+e),e},t.prototype.onerror=function(t,e,o,n,r){p=!0;var i=t;r&&r.stack&&(i=this.processStackMsg(r)),this.isOBJByType(i,"Event")&&(i+=i.type?"--"+i.type+"--"+(i.target?i.target.tagName+"::"+i.target.src:""):""),this.pushMessage({msg:i,target:e,rowNum:o,colNum:n,type:1}),this.send()},t}();e.default=c,t.exports=e.default},function(t,e){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var n=function(){function t(){o(this,t)}return t.getPosition=function(t){var e={x:t.clientX,y:t.clientY};return t.target&&1===t.target.nodeType&&(e.type=t.target.nodeName,e.id=t.target.id,e.classname=t.target.className),e},t.getNowDateTime=function(){var t=new Date;return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+t.getHours()+":"+t.getMinutes()+":"+t.getSeconds()},t.getPageInfo=function(){var t=document.getElementsByTagName("title"),e={};return t&&t.length>=1&&(e.title=t[0].innerHTML),e.url=window.location.href,e},t.getBrowserInfo=function(){var t=navigator,e={};return e.userAgent=t.userAgent,e},t.addEvent=function(t,e,o){t.addEventListener?t.addEventListener(e,o,!1):t.attachEvent("on"+e,o)},t}();e.default=n,t.exports=e.default},function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t},l=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),s=o(26),p=n(s),c=o(27),u=n(c),h=o(34),d=n(h),f=o(35),b=n(f),g=o(43),m=n(g);o(48),o(61);var y=function(t){function e(o,n){r(this,e),t.call(this,o,n),new m.default("Icon")}return i(e,t),l(e,null,[{key:"propTypes",value:{classPrefix:u.default.string,componentTag:u.default.string,phIcon:u.default.string,phSize:u.default.string,phStyle:u.default.string},enumerable:!0},{key:"defaultProps",value:{phIcon:"",phSize:"sm",phStyle:"default",classPrefix:"icon",componentTag:"span",classMapping:{default:"default",primary:"primary",info:"info",success:"success",error:"error",warning:"warning",danger:"danger"}},enumerable:!0}]),e.prototype.renderIcon=function(){var t=this.props,e=t.componentTag,o=t.className,n=t.phIcon,r=t.classPrefix;return p.default.createElement(e,a({},this.otherProps,{className:b.default("gfs-icon",this.getProperty(!0),o,n?r+"-"+n:"",n&&n.indexOf("loading")>=0?"gfs-icon-loading":"")}),this.props.children)},e.prototype.render=function(){return this.renderIcon()},e}(d.default);e.default=y,t.exports=e.default},function(t,e,o){"use strict";o(49),o(53),o(55),o(57),o(59)},function(t,e,o){var n=o(50);"string"==typeof n&&(n=[[t.id,n,""]]);o(52)(n,{});n.locals&&(t.exports=n.locals)},function(t,e,o){e=t.exports=o(51)(),e.push([t.id,"*{padding:0;margin:0;-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-backface-visibility:hidden;box-sizing:border-box}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body,html{font-size:1pc}body{margin:0;font-weight:400;font-family:Helvetica,Tahoma,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei;color:#333;-webkit-text-size-adjust:none;text-size-adjust:none;background-color:#f0f0f0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,ph-input,ph-list,ph-list-header,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}ol,ul{list-style:none}a{outline:0;color:#333}a,a:hover{text-decoration:none}address{font-style:normal}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:400}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;color:#777;font-size:65%;margin-left:10px}.small,small{font-weight:400;color:#777;font-size:65%}h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:18px}h5{font-size:14px}h6{font-size:9pt}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var o=this[e];o[2]?t.push("@media "+o[2]+"{"+o[1]+"}"):t.push(o[1])}return t.join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&n[a[0]]||(o&&!a[2]?a[2]=o:o&&(a[2]="("+a[2]+") and ("+o+")"),t.push(a))}},t}},function(t,e,o){function n(t,e){for(var o=0;o<t.length;o++){var n=t[o],r=u[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(l(n.parts[i],e))}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(l(n.parts[i],e));u[n.id]={id:n.id,refs:1,parts:a}}}}function r(t){for(var e=[],o={},n=0;n<t.length;n++){var r=t[n],i=r[0],a=r[1],l=r[2],s=r[3],p={css:a,media:l,sourceMap:s};o[i]?o[i].parts.push(p):e.push(o[i]={id:i,parts:[p]})}return e}function i(){var t=document.createElement("style"),e=f();return t.type="text/css",e.appendChild(t),t}function a(){var t=document.createElement("link"),e=f();return t.rel="stylesheet",e.appendChild(t),t}function l(t,e){var o,n,r;if(e.singleton){var l=g++;o=b||(b=i()),n=s.bind(null,o,l,!1),r=s.bind(null,o,l,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=a(),n=c.bind(null,o),r=function(){o.parentNode.removeChild(o),o.href&&URL.revokeObjectURL(o.href)}):(o=i(),n=p.bind(null,o),r=function(){o.parentNode.removeChild(o)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}function s(t,e,o,n){var r=o?"":n.css;if(t.styleSheet)t.styleSheet.cssText=