update pages

gh-pages
Rawrington 5 years ago
parent 3d2b12ca64
commit 61ab5bb5ef
  1. 14
      asset-manifest.json
  2. 2
      index.html
  3. 22
      precache-manifest.2903a9bb3e3230d11a626f341faddc30.js
  4. 22
      precache-manifest.c6c751a0d1d976f5df8ef9f5eaab01c0.js
  5. 2
      service-worker.js
  6. 2
      static/css/main.0f410e0e.chunk.css
  7. 1
      static/css/main.0f410e0e.chunk.css.map
  8. 2
      static/css/main.2d2ef68e.chunk.css
  9. 1
      static/css/main.2d2ef68e.chunk.css.map
  10. 2
      static/js/2.7987e23d.chunk.js
  11. 1
      static/js/2.7987e23d.chunk.js.map
  12. 2
      static/js/2.7cddf10a.chunk.js
  13. 1
      static/js/2.7cddf10a.chunk.js.map
  14. 2
      static/js/main.330ea6cd.chunk.js
  15. 1
      static/js/main.330ea6cd.chunk.js.map
  16. 2
      static/js/main.e258d74f.chunk.js
  17. 1
      static/js/main.e258d74f.chunk.js.map

@ -1,15 +1,15 @@
{
"files": {
"main.css": "/SkillDisplay/static/css/main.2d2ef68e.chunk.css",
"main.js": "/SkillDisplay/static/js/main.330ea6cd.chunk.js",
"main.js.map": "/SkillDisplay/static/js/main.330ea6cd.chunk.js.map",
"main.css": "/SkillDisplay/static/css/main.0f410e0e.chunk.css",
"main.js": "/SkillDisplay/static/js/main.e258d74f.chunk.js",
"main.js.map": "/SkillDisplay/static/js/main.e258d74f.chunk.js.map",
"runtime~main.js": "/SkillDisplay/static/js/runtime~main.20fadea3.js",
"runtime~main.js.map": "/SkillDisplay/static/js/runtime~main.20fadea3.js.map",
"static/js/2.7cddf10a.chunk.js": "/SkillDisplay/static/js/2.7cddf10a.chunk.js",
"static/js/2.7cddf10a.chunk.js.map": "/SkillDisplay/static/js/2.7cddf10a.chunk.js.map",
"static/js/2.7987e23d.chunk.js": "/SkillDisplay/static/js/2.7987e23d.chunk.js",
"static/js/2.7987e23d.chunk.js.map": "/SkillDisplay/static/js/2.7987e23d.chunk.js.map",
"index.html": "/SkillDisplay/index.html",
"precache-manifest.c6c751a0d1d976f5df8ef9f5eaab01c0.js": "/SkillDisplay/precache-manifest.c6c751a0d1d976f5df8ef9f5eaab01c0.js",
"precache-manifest.2903a9bb3e3230d11a626f341faddc30.js": "/SkillDisplay/precache-manifest.2903a9bb3e3230d11a626f341faddc30.js",
"service-worker.js": "/SkillDisplay/service-worker.js",
"static/css/main.2d2ef68e.chunk.css.map": "/SkillDisplay/static/css/main.2d2ef68e.chunk.css.map"
"static/css/main.0f410e0e.chunk.css.map": "/SkillDisplay/static/css/main.0f410e0e.chunk.css.map"
}
}

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/SkillDisplay/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/SkillDisplay/manifest.json"/><title>Skill Display</title><link href="/SkillDisplay/static/css/main.2d2ef68e.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(f){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],l=0,i=[];l<n.length;l++)t=n[l],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(f[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=l(l.s=t[0]))}return e}var t={},p={1:0},c=[];function l(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=f,l.c=t,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(r,e){if(1&e&&(r=l(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)l.d(t,n,function(e){return r[e]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/SkillDisplay/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/SkillDisplay/static/js/2.7cddf10a.chunk.js"></script><script src="/SkillDisplay/static/js/main.330ea6cd.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/SkillDisplay/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/SkillDisplay/manifest.json"/><title>Skill Display</title><link href="/SkillDisplay/static/css/main.0f410e0e.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(f){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],l=0,i=[];l<n.length;l++)t=n[l],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(f[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=l(l.s=t[0]))}return e}var t={},p={1:0},c=[];function l(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=f,l.c=t,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(r,e){if(1&e&&(r=l(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)l.d(t,n,function(e){return r[e]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/SkillDisplay/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/SkillDisplay/static/js/2.7987e23d.chunk.js"></script><script src="/SkillDisplay/static/js/main.e258d74f.chunk.js"></script></body></html>

@ -0,0 +1,22 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "08f2d0d540c9aab23b2f0b0074aa7892",
"url": "/SkillDisplay/index.html"
},
{
"revision": "af4dba6f8b1b9f1d69a5",
"url": "/SkillDisplay/static/css/main.0f410e0e.chunk.css"
},
{
"revision": "983315ebfc397ca9307b",
"url": "/SkillDisplay/static/js/2.7987e23d.chunk.js"
},
{
"revision": "af4dba6f8b1b9f1d69a5",
"url": "/SkillDisplay/static/js/main.e258d74f.chunk.js"
},
{
"revision": "e4ff8796ac8613602dd0",
"url": "/SkillDisplay/static/js/runtime~main.20fadea3.js"
}
]);

@ -1,22 +0,0 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "84f67e56124c003e5a08337863012763",
"url": "/SkillDisplay/index.html"
},
{
"revision": "a41785d1bf4aeee3758d",
"url": "/SkillDisplay/static/css/main.2d2ef68e.chunk.css"
},
{
"revision": "e3e1726d43da044c5a6a",
"url": "/SkillDisplay/static/js/2.7cddf10a.chunk.js"
},
{
"revision": "a41785d1bf4aeee3758d",
"url": "/SkillDisplay/static/js/main.330ea6cd.chunk.js"
},
{
"revision": "e4ff8796ac8613602dd0",
"url": "/SkillDisplay/static/js/runtime~main.20fadea3.js"
}
]);

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/SkillDisplay/precache-manifest.c6c751a0d1d976f5df8ef9f5eaab01c0.js"
"/SkillDisplay/precache-manifest.2903a9bb3e3230d11a626f341faddc30.js"
);
self.addEventListener('message', (event) => {

@ -0,0 +1,2 @@
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px}html{margin:0;height:100vh;overflow:hidden;background-color:rgba(20,20,20,.3)}.actions{background:linear-gradient(180deg,transparent calc(25% - 1px),hsla(0,0%,100%,.5) 25%,transparent calc(25% + 1px),transparent calc(50% - 1px),hsla(0,0%,100%,.5) 50%,transparent calc(50% + 1px),transparent calc(75% - 1px),hsla(0,0%,100%,.5) 75%,transparent calc(75% + 1px));height:3em;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.action-icon{-webkit-animation-duration:10s;animation-duration:10s;-webkit-animation-name:action-move;animation-name:action-move;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;position:absolute}.gcd{width:3rem}.ogcd{width:2rem}@-webkit-keyframes action-move{0%{-webkit-transform:translateX(calc(100vw - 3rem));transform:translateX(calc(100vw - 3rem))}to{-webkit-transform:translateX(-3rem);transform:translateX(-3rem)}}@keyframes action-move{0%{-webkit-transform:translateX(calc(100vw - 3rem));transform:translateX(calc(100vw - 3rem))}to{-webkit-transform:translateX(-3rem);transform:translateX(-3rem)}}
/*# sourceMappingURL=main.0f410e0e.chunk.css.map */

@ -0,0 +1 @@
{"version":3,"sources":["index.css","App.css","Action.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mIAEY,CACZ,kCAAmC,CACnC,iCAAkC,CAClC,cACF,CAEA,KACE,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,kCACF,CCfA,SAEC,+QAUI,CACJ,UAAW,CAEX,iBAAkB,CAClB,KAAK,CACL,QAAS,CACT,MAAO,CACP,OAAQ,CAER,WACD,CCtBA,aACE,8BAAuB,CAAvB,sBAAuB,CACvB,kCAA2B,CAA3B,0BAA2B,CAC3B,wCAAiC,CAAjC,gCAAiC,CACjC,oCAA6B,CAA7B,4BAA6B,CAC7B,iBACF,CAEA,KACC,UACD,CAEA,MACC,UACD,CAEA,+BACE,GACE,gDAAyC,CAAzC,wCACF,CAEA,GACE,mCAA4B,CAA5B,2BACF,CACF,CARA,uBACE,GACE,gDAAyC,CAAzC,wCACF,CAEA,GACE,mCAA4B,CAA5B,2BACF,CACF","file":"main.0f410e0e.chunk.css","sourcesContent":["body {\r\n margin: 0;\r\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\r\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\r\n sans-serif;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n font-size: 16px;\r\n}\r\n\r\nhtml {\r\n margin: 0;\r\n height: 100vh;\r\n overflow: hidden;\r\n background-color: rgba(20, 20, 20, 0.3);\r\n}",".actions {\r\n\tmargin-top: 1em;\r\n\tbackground: linear-gradient(180deg, \r\n\t\trgba(0,0,0,0) calc(25% - 1px), \r\n rgba(255,255,255,0.5) calc(25%), \r\n rgba(0,0,0,0) calc(25% + 1px),\r\n rgba(0,0,0,0) calc(50% - 1px), \r\n rgba(255,255,255,0.5) calc(50%), \r\n rgba(0,0,0,0) calc(50% + 1px),\r\n\t\trgba(0,0,0,0) calc(75% - 1px), \r\n rgba(255,255,255,0.5) calc(75%), \r\n rgba(0,0,0,0) calc(75% + 1px)\r\n );\r\n\theight: 3em;\r\n\t\r\n\tposition: absolute;\r\n\ttop:0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n \t\r\n\tmargin: auto;\r\n}",".action-icon {\r\n animation-duration: 10s;\r\n animation-name: action-move;\r\n animation-timing-function: linear;\r\n animation-fill-mode: forwards;\r\n position: absolute;\r\n}\r\n\r\n.gcd {\r\n\twidth: 3rem;\r\n}\r\n\r\n.ogcd {\r\n\twidth: 2rem;\r\n}\r\n\r\n@keyframes action-move {\r\n from {\r\n transform: translateX(calc(100vw - 3rem));\r\n }\r\n \r\n to {\r\n transform: translateX(-3rem);\r\n }\r\n}"]}

@ -1,2 +0,0 @@
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px}html{margin:0;height:100vh;overflow:hidden;background-color:rgba(20,20,20,.3)}.actions{position:absolute;top:0;bottom:0;left:0;right:0;margin:1em auto auto;background:linear-gradient(180deg,transparent calc(25% - 1px),hsla(0,0%,100%,.5) 25%,transparent calc(25% + 1px),transparent calc(50% - 1px),hsla(0,0%,100%,.5) 50%,transparent calc(50% + 1px),transparent calc(75% - 1px),hsla(0,0%,100%,.5) 75%,transparent calc(75% + 1px));height:3em}.action-icon{-webkit-animation-duration:10s;animation-duration:10s;-webkit-animation-name:action-move;animation-name:action-move;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;position:absolute}.gcd{width:3rem}.ogcd{width:2rem}@-webkit-keyframes action-move{0%{-webkit-transform:translateX(calc(100vw - 3rem));transform:translateX(calc(100vw - 3rem))}to{-webkit-transform:translateX(-3rem);transform:translateX(-3rem)}}@keyframes action-move{0%{-webkit-transform:translateX(calc(100vw - 3rem));transform:translateX(calc(100vw - 3rem))}to{-webkit-transform:translateX(-3rem);transform:translateX(-3rem)}}
/*# sourceMappingURL=main.2d2ef68e.chunk.css.map */

@ -1 +0,0 @@
{"version":3,"sources":["index.css","App.css","Action.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mIAEY,CACZ,kCAAmC,CACnC,iCAAkC,CAClC,cACF,CAEA,KACE,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,kCACF,CCfA,SACC,iBAAkB,CAClB,KAAK,CACL,QAAS,CACT,MAAO,CACP,OAAQ,CAIR,oBAAe,CACf,+QAUI,CACJ,UACD,CCtBA,aACE,8BAAuB,CAAvB,sBAAuB,CACvB,kCAA2B,CAA3B,0BAA2B,CAC3B,wCAAiC,CAAjC,gCAAiC,CACjC,oCAA6B,CAA7B,4BAA6B,CAC7B,iBACF,CAEA,KACC,UACD,CAEA,MACC,UACD,CAEA,+BACE,GACE,gDAAyC,CAAzC,wCACF,CAEA,GACE,mCAA4B,CAA5B,2BACF,CACF,CARA,uBACE,GACE,gDAAyC,CAAzC,wCACF,CAEA,GACE,mCAA4B,CAA5B,2BACF,CACF","file":"main.2d2ef68e.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-size: 16px;\n}\n\nhtml {\n margin: 0;\n height: 100vh;\n overflow: hidden;\n background-color: rgba(20, 20, 20, 0.3);\n}",".actions {\r\n\tposition: absolute;\r\n\ttop:0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n \t\r\n\tmargin: auto;\r\n\t\r\n\tmargin-top: 1em;\r\n\tbackground: linear-gradient(180deg, \r\n\t\trgba(0,0,0,0) calc(25% - 1px), \r\n rgba(255,255,255,0.5) calc(25%), \r\n rgba(0,0,0,0) calc(25% + 1px),\r\n rgba(0,0,0,0) calc(50% - 1px), \r\n rgba(255,255,255,0.5) calc(50%), \r\n rgba(0,0,0,0) calc(50% + 1px),\r\n\t\trgba(0,0,0,0) calc(75% - 1px), \r\n rgba(255,255,255,0.5) calc(75%), \r\n rgba(0,0,0,0) calc(75% + 1px)\r\n );\r\n\theight: 3em;\r\n}",".action-icon {\r\n animation-duration: 10s;\r\n animation-name: action-move;\r\n animation-timing-function: linear;\r\n animation-fill-mode: forwards;\r\n position: absolute;\r\n}\r\n\r\n.gcd {\r\n\twidth: 3rem;\r\n}\r\n\r\n.ogcd {\r\n\twidth: 2rem;\r\n}\r\n\r\n@keyframes action-move {\r\n from {\r\n transform: translateX(calc(100vw - 3rem));\r\n }\r\n \r\n to {\r\n transform: translateX(-3rem);\r\n }\r\n}"]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,2 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{15:function(t,e,n){},16:function(t,e,n){},17:function(t,e,n){},18:function(t,e,n){"use strict";n.r(e);var a=n(0),i=n.n(a),o=n(8),r=n.n(o),c=(n(15),n(1)),s=n(2),u=n(5),d=n(4),l=n(3),h=n(6);n(16),n(17);var f=[15997,15998,15999,16e3,16001,16002,16003,16004,16191,16192,16193,16194,16195,16196,7418,16483],m=[3559,116,114],v=function(t){function e(t){var n;Object(c.a)(this,e),(n=Object(u.a)(this,Object(d.a)(e).call(this,t))).state={xivapi_data:[]};var a="https://xivapi.com/Action/"+t.action_id;return fetch(a,{mode:"cors"}).then(function(t){return t.json()}).then(function(t){n.setState({xivapi_data:t})}),n}return Object(h.a)(e,t),Object(s.a)(e,[{key:"isGCD",value:function(){return-1!==f.indexOf(this.props.action_id)||-1===m.indexOf(this.props.action_id)&&4!==this.state.xivapi_data.ActionCategory.ID}},{key:"render",value:function(){if(this.state.xivapi_data.Icon){var t=this.isGCD()?"action-icon gcd":"action-icon ogcd",e="https://xivapi.com"+this.state.xivapi_data.Icon;return i.a.createElement("img",{className:t,src:e,alt:""})}return null}}]),e}(i.a.Component),p=function(t){function e(t){var n;return Object(c.a)(this,e),(n=Object(u.a)(this,Object(d.a)(e).call(this,t))).state={me:0,actionlist:[],actionindex:1,lastAddedTimestamp:""},function t(e){var n=new URLSearchParams(window.location.search),a="".concat(n.get("HOST_PORT"),"BeforeLogLineRead")||!1,i=new WebSocket(a);i.onerror=function(){return t()},i.onmessage=function(t,n){if("."===t.data)return i.send(".");var a=JSON.parse(t.data);if("SendCharName"===a.msgtype)return e(a.msg);if("Chat"===a.msgtype){var o=a.msg.substring(0,2);if("21"===o||"22"===o)return e(a.msg)}}}(n.handleLogEvent.bind(Object(l.a)(n))),n}return Object(h.a)(e,t),Object(s.a)(e,[{key:"handleLogEvent",value:function(t){if(t.charID)this.setState({me:t.charID});else{var e=this.state.me;if(0!==e){var n=t.split("|");if(parseInt(n[2],16)===e){var a=parseInt(n[4],16);if(!(a<=8)&&this.state.lastAddedTimestamp!==n[1]){var i=this.state.actionindex;this.setState(function(t){return{actionindex:t.actionindex>=32?1:t.actionindex+1,lastAddedTimestamp:n[1],actionlist:t.actionlist.concat({index:i,action:a})}}),setTimeout(this.purgeAction.bind(this),1e4)}}}}}},{key:"purgeAction",value:function(){this.setState(function(t){return{actionlist:t.actionlist.slice(1)}})}},{key:"render",value:function(){var t=[],e=!0,n=!1,a=void 0;try{for(var o,r=this.state.actionlist[Symbol.iterator]();!(e=(o=r.next()).done);e=!0){var c=o.value;t.push(i.a.createElement(v,{key:c.index,action_id:c.action}))}}catch(s){n=!0,a=s}finally{try{e||null==r.return||r.return()}finally{if(n)throw a}}return i.a.createElement("div",{className:"actions"},t)}}]),e}(i.a.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));r.a.render(i.a.createElement(p,null),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(function(t){t.unregister()})},9:function(t,e,n){t.exports=n(18)}},[[9,1,2]]]);
//# sourceMappingURL=main.330ea6cd.chunk.js.map

File diff suppressed because one or more lines are too long

@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{12:function(t,e,n){t.exports=n(22)},18:function(t,e,n){},19:function(t,e,n){},21:function(t,e,n){},22:function(t,e,n){"use strict";n.r(e);var a=n(0),i=n.n(a),o=n(4),c=n.n(o),r=(n(18),n(5)),s=n(6),u=n(11),d=n(7),l=n(1),f=n(10);n(19);var m=n(2),h=n.n(m),v=n(8),p=n(9),g=(n(21),new Set([15997,15998,15999,16e3,16001,16002,16003,16004,16191,16192,16193,16194,16195,16196,7418,16483])),w=new Set([3559,116,114]);function b(t){var e=t.action_id,n=i.a.useState(),a=Object(p.a)(n,2),o=a[0],c=a[1];return i.a.useEffect(function(){var t=!0;return Object(v.a)(h.a.mark(function n(){var a;return h.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch("https://xivapi.com/Action/".concat(e),{mode:"cors"});case 2:return n.next=4,n.sent.json();case 4:a=n.sent,t&&c(a);case 6:case"end":return n.stop()}},n)}))(),function(){t=!1}},[e]),void 0!==o&&o.Icon?i.a.createElement("img",{className:g.has(e)||!w.has(e)&&4!==o.ActionCategory.ID?"action-icon gcd":"action-icon ogcd",src:"https://xivapi.com/".concat(o.Icon),alt:o.Name||""}):null}var x=function(t){function e(t){var n;return Object(r.a)(this,e),(n=Object(u.a)(this,Object(d.a)(e).call(this,t))).state={me:0,actionlist:[],actionindex:1,lastAddedTimestamp:"",lastAddedAction:-1},function t(e){var n=new URLSearchParams(window.location.search),a="".concat(n.get("HOST_PORT"),"BeforeLogLineRead")||!1,i=new WebSocket(a);i.onerror=function(){return t()},i.onmessage=function(t,n){if("."===t.data)return i.send(".");var a=JSON.parse(t.data);if("SendCharName"===a.msgtype)return e(a.msg);if("Chat"===a.msgtype){var o=a.msg.substring(0,2);if("21"===o||"22"===o)return e(a.msg)}}}(n.handleLogEvent.bind(Object(l.a)(n))),n}return Object(f.a)(e,t),Object(s.a)(e,[{key:"handleLogEvent",value:function(t){if(t.charID)this.setState({me:t.charID});else{var e=this.state.me;if(0!==e){var n=t.split("|");if(parseInt(n[2],16)===e){var a=parseInt(n[4],16);if(!(a<=8)&&(this.state.lastAddedTimestamp!==n[1]||this.state.lastAddedAction!==a)){var i=this.state.actionindex;this.setState(function(t){return{actionindex:t.actionindex>=32?1:t.actionindex+1,lastAddedTimestamp:n[1],lastAddedAction:a,actionlist:t.actionlist.concat({index:i,action:a})}}),setTimeout(this.purgeAction.bind(this),1e4)}}}}}},{key:"purgeAction",value:function(){this.setState(function(t){return{actionlist:t.actionlist.slice(1)}})}},{key:"render",value:function(){var t=[],e=!0,n=!1,a=void 0;try{for(var o,c=this.state.actionlist[Symbol.iterator]();!(e=(o=c.next()).done);e=!0){var r=o.value;t.push(i.a.createElement(b,{key:r.index,action_id:r.action}))}}catch(s){n=!0,a=s}finally{try{e||null==c.return||c.return()}finally{if(n)throw a}}return i.a.createElement("div",{className:"actions"},t)}}]),e}(i.a.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));c.a.render(i.a.createElement(x,null),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(function(t){t.unregister()})}},[[12,1,2]]]);
//# sourceMappingURL=main.e258d74f.chunk.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save