subwayzurich 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/unity.js ADDED
@@ -0,0 +1,917 @@
1
+ ! function(n) {
2
+ function e(i) {
3
+ if (t[i]) return t[i].exports;
4
+ var o = t[i] = {
5
+ i: i,
6
+ l: !1,
7
+ exports: {}
8
+ };
9
+ return n[i].call(o.exports, o, o.exports, e), o.l = !0, o.exports
10
+ }
11
+ var t = {};
12
+ e.m = n, e.c = t, e.d = function(n, t, i) {
13
+ e.o(n, t) || Object.defineProperty(n, t, {
14
+ configurable: !1,
15
+ enumerable: !0,
16
+ get: i
17
+ })
18
+ }, e.n = function(n) {
19
+ var t = n && n.__esModule ? function() {
20
+ return n.default
21
+ } : function() {
22
+ return n
23
+ };
24
+ return e.d(t, "a", t), t
25
+ }, e.o = function(n, e) {
26
+ return Object.prototype.hasOwnProperty.call(n, e)
27
+ }, e.p = "", e(e.s = 2)
28
+ }([function(n, e, t) {
29
+ "use strict";
30
+ var i = {
31
+ loader: "unity",
32
+ maxRatio: 16 / 9,
33
+ minRatio: 9 / 16,
34
+ thumbnail: "https://i.poki.com/q80,w100,h100,g29251,Default.jpg",
35
+ numScreenshots: 4,
36
+ commentChangeTime: 5e3,
37
+ spinnerRemoveDelay: 1e3,
38
+ fullImageMaxWidth: .6,
39
+ fullImageMaxHeight: .7,
40
+ smallImageSizeOfFullImage: .8,
41
+ animationTargetSizeOfSmallImage: .5,
42
+ transitionDuration: .5,
43
+ slideshowInterval: 5
44
+ };
45
+ window.config.title || console.error(new Error("No title on window.config"));
46
+ var o = Object.assign(i, window.config);
47
+ e.a = o
48
+ }, function(n, e, t) {
49
+ "use strict";
50
+
51
+ function i(n, e, t, i, o, r, a) {
52
+ try {
53
+ var s = n[r](a),
54
+ c = s.value
55
+ } catch (n) {
56
+ return void t(n)
57
+ }
58
+ s.done ? e(c) : Promise.resolve(c).then(i, o)
59
+ }
60
+
61
+ function o(n) {
62
+ return function() {
63
+ var e = this,
64
+ t = arguments;
65
+ return new Promise(function(o, r) {
66
+ function a(n) {
67
+ i(c, o, r, a, s, "next", n)
68
+ }
69
+
70
+ function s(n) {
71
+ i(c, o, r, a, s, "throw", n)
72
+ }
73
+ var c = n.apply(e, t);
74
+ a(void 0)
75
+ })
76
+ }
77
+ }
78
+
79
+ function r() {
80
+ return a.apply(this, arguments)
81
+ }
82
+
83
+ function a() {
84
+ return a = o(x.a.mark(function n() {
85
+ var e, t, i, o, r, a, c;
86
+ return x.a.wrap(function(n) {
87
+ for (;;) switch (n.prev = n.next) {
88
+ case 0:
89
+ return m = document.getElementById("slideshow"), p = document.getElementById("slideshow-top"), g = document.getElementById("slideshow-nav"), w = document.getElementById("slideshow-images"), p.className = "active", n.prev = 5, n.next = 8, h("".concat(B, "screenshots/1-small.jpg").concat(I));
90
+ case 8:
91
+ e = n.sent, n.next = 16;
92
+ break;
93
+ case 11:
94
+ return n.prev = 11, n.t0 = n.catch(5), n.next = 15, h("".concat(B, "screenshots/1.jpg").concat(I));
95
+ case 15:
96
+ e = n.sent;
97
+ case 16:
98
+ for (t = f(), t.className = "".concat(L, " middle"), t.setAttribute("fullImageLoaded", !0), t.setAttribute("data-idx", 0), t.appendChild(e), w.appendChild(t), m.className = "active", v = e.width / e.height, y = document.createElement("style"), u(), document.body.appendChild(y), window.addEventListener("resize", u), i = 0; i <= S.a.numScreenshots - 1; i++) o = document.createElement("div"), o.className = "bullet".concat(0 === i ? " active" : ""), o.setAttribute("data-idx", i), g.appendChild(o);
99
+ return n.next = 31, h("".concat(B, "screenshots/1.jpg").concat(I));
100
+ case 31:
101
+ for (r = n.sent, t.querySelector("img").src = r.src, a = function(n) {
102
+ var e = f(),
103
+ t = new Image;
104
+ t.src = "".concat(B, "screenshots/").concat(n + 1, "-small.jpg").concat(I), e.appendChild(t), e.setAttribute("data-idx", n), 1 === n ? e.className = "".concat(L, " right") : n === S.a.numScreenshots - 1 ? e.className = "".concat(L, " left") : e.className = "".concat(L, " inactive"), w.appendChild(e)
105
+ }, c = 1; c <= S.a.numScreenshots - 1; c++) a(c);
106
+ s();
107
+ case 36:
108
+ case "end":
109
+ return n.stop()
110
+ }
111
+ }, n, null, [
112
+ [5, 11]
113
+ ])
114
+ })), a.apply(this, arguments)
115
+ }
116
+
117
+ function s() {
118
+ return c.apply(this, arguments)
119
+ }
120
+
121
+ function c() {
122
+ return c = o(x.a.mark(function n() {
123
+ var e, t, i, o, r, a;
124
+ return x.a.wrap(function(n) {
125
+ for (;;) switch (n.prev = n.next) {
126
+ case 0:
127
+ if (e = 1e3 * S.a.slideshowInterval, t = w.querySelector("#slideshow-images .right"), i = t.getAttribute("data-idx") << 0, t.getAttribute("fullImageLoaded")) {
128
+ n.next = 16;
129
+ break
130
+ }
131
+ return o = Date.now(), n.next = 7, h("".concat(B, "screenshots/").concat(i + 1, ".jpg").concat(I));
132
+ case 7:
133
+ r = n.sent, t.querySelector("img").src = r.src, t.setAttribute("fullImageLoaded", !0), clearTimeout(window.slideShowMoveTransitionID), clearTimeout(window.slideShowTimeoutID), a = Date.now() - o, a > e ? l() : window.slideShowTimeoutID = window.setTimeout(l, e - a), n.next = 19;
134
+ break;
135
+ case 16:
136
+ clearTimeout(window.slideShowMoveTransitionID), clearTimeout(window.slideShowTimeoutID), window.slideShowTimeoutID = window.setTimeout(l, e);
137
+ case 19:
138
+ case "end":
139
+ return n.stop()
140
+ }
141
+ }, n)
142
+ })), c.apply(this, arguments)
143
+ }
144
+
145
+ function l() {
146
+ if (!E) {
147
+ var n = k + 1;
148
+ n > S.a.numScreenshots - 1 && (n = 0), d(n)
149
+ }
150
+ }
151
+
152
+ function d(n) {
153
+ k = n << 0;
154
+ var e = k > 0 ? k - 1 : S.a.numScreenshots - 1,
155
+ t = k < S.a.numScreenshots - 1 ? k + 1 : 0;
156
+ w.querySelectorAll(".image").forEach(function(n) {
157
+ n.className === "".concat(L, " left") && (n.className = "".concat(L, " fromLeft")), n.className === "".concat(L, " right") && (n.className = "".concat(L, " fromRight")), -1 === n.className.indexOf("inactive") && (n.className += " inactive")
158
+ }), w.querySelector('[data-idx="'.concat(k, '"]')).className = "".concat(L, " middle"), w.querySelector('[data-idx="'.concat(e, '"]')).className = "".concat(L, " left"), w.querySelector('[data-idx="'.concat(t, '"]')).className = "".concat(L, " right"), g.querySelectorAll(".bullet").forEach(function(n, e) {
159
+ n.className = "bullet", e === k && (n.className += " active")
160
+ }), window.slideShowMoveTransitionID = window.setTimeout(function() {
161
+ w.querySelectorAll(".inactive").forEach(function(n) {
162
+ n.className = "".concat(L, " inactive fromRight")
163
+ })
164
+ }, 1e3 * S.a.transitionDuration), s()
165
+ }
166
+
167
+ function u() {
168
+ var n = window.innerWidth / window.innerHeight,
169
+ e = S.a.fullImageMaxWidth / v * n,
170
+ t = S.a.fullImageMaxWidth;
171
+ e > S.a.fullImageMaxHeight && (e = S.a.fullImageMaxHeight, t = e * v / n);
172
+ var i = t * S.a.smallImageSizeOfFullImage,
173
+ o = .5 - t / 2,
174
+ r = t * S.a.animationTargetSizeOfSmallImage,
175
+ a = -2 * r,
176
+ s = 1 + r,
177
+ c = (1 - t) / 4 - t / 2,
178
+ l = .5 - .5 * t - (i + t) / 2,
179
+ d = 1 - (1 - t) / 4 - t / 2,
180
+ u = .5 + .5 * i,
181
+ h = Math.min(c, l),
182
+ f = Math.max(d, u);
183
+ y.innerHTML = "\n\t\t#slideshow-images {\n\t\t\theight: ".concat(100 * e, "vh;\n\t\t}\n\t\t#slideshow-images .image {\n\t\t\ttransition-duration: ").concat(S.a.transitionDuration, "s;\n\t\t\twidth: ").concat(100 * t, "vw;\n\t\t\theight: ").concat(100 * e, "vh;\n\t\t}\n\t\t#slideshow-images .middle {\n\t\t\ttransform: translateX(").concat(100 * o, "vw);\n\t\t}\n\t\t#slideshow-images .left {\n\t\t\ttransform: translateX(").concat(100 * h, "vw) scale(").concat(S.a.smallImageSizeOfFullImage, ");\n\t\t}\n\t\t#slideshow-images .right {\n\t\t\ttransform: translateX(").concat(100 * f, "vw) scale(").concat(S.a.smallImageSizeOfFullImage, ");\n\t\t}\n\t\t#slideshow-images .inactive.fromLeft {\n\t\t\ttransform: translateX(").concat(100 * a, "vw) scale(").concat(S.a.smallImageSizeOfFullImage * S.a.animationTargetSizeOfSmallImage, ");\n\t\t}\n\t\t#slideshow-images .inactive.fromRight {\n\t\t\ttransform: translateX(").concat(100 * s, "vw) scale(").concat(S.a.smallImageSizeOfFullImage * S.a.animationTargetSizeOfSmallImage, ");\n\t\t}\n\t")
184
+ }
185
+
186
+ function h(n) {
187
+ return new Promise(function(e, t) {
188
+ var i = new Image;
189
+ i.addEventListener("load", function() {
190
+ return e(i)
191
+ }), i.addEventListener("error", function(n) {
192
+ i.src.indexOf(".jpg") > 0 ? i.src = i.src.replace(".jpg", ".png") : t(n)
193
+ }), i.src = n
194
+ })
195
+ }
196
+
197
+ function f() {
198
+ var n = document.createElement("div");
199
+ return n.className = L, n
200
+ }
201
+ e.a = r;
202
+ var m, p, g, w, v, y, b = t(10),
203
+ x = t.n(b),
204
+ S = t(0),
205
+ L = "image",
206
+ k = 0,
207
+ E = !1,
208
+ I = S.a.screenshotsVersion ? "?v".concat(S.a.screenshotsVersion) : "",
209
+ C = window.location.pathname.substring(0, window.location.pathname.lastIndexOf("/")),
210
+ T = window.location.hostname.endsWith("game-cdn.poki.com") || window.location.hostname.endsWith(".poki-gdn.com"),
211
+ B = T ? "/cdn-cgi/image/f=auto,quality=78".concat(C, "/") : "";
212
+ window.navigateNext = l, window.removeSlideshowEventListeners = function() {
213
+ E = !0
214
+ }
215
+ }, function(n, e, t) {
216
+ n.exports = t(3)
217
+ }, function(n, e, t) {
218
+ "use strict";
219
+
220
+ function i(n) {
221
+ var e = document.createElement("div");
222
+ return e.id = n, e
223
+ }
224
+ Object.defineProperty(e, "__esModule", {
225
+ value: !0
226
+ });
227
+ var o = t(4),
228
+ r = (t.n(o), t(0)),
229
+ a = (t(9), t(1), t(11)),
230
+ s = (t.n(a), i("loader")),
231
+ c = i("slideshow"),
232
+ l = i("slideshow-top"),
233
+ d = document.createElement("img");
234
+ d.id = "thumbnail", d.alt = r.a.title, d.title = r.a.title;
235
+ var u = r.a.thumbnail;
236
+ u.startsWith("https://img.poki.com/") && (u = "https://img.poki.com/cdn-cgi/image/quality=78,width=40,height=40,fit=cover,g=0.5x0.5,f=auto/".concat(u.substr(21))), d.src = u;
237
+ var h = i("slideshow-top-container"),
238
+ f = i("game-title");
239
+ f.innerText = r.a.title;
240
+ var m = i("progress-spinner");
241
+ m.innerHTML = '<div class="bounce0"></div><div class="bounce1"></div><div class="bounce2">', m.setAttribute("class", "spinner");
242
+ var p = i("progress-container"),
243
+ g = i("progress-bar"),
244
+ w = i("progress-fill");
245
+ w.style.width = "0%";
246
+ var v = i("progress-amount");
247
+ v.innerText = "0%";
248
+ var y = i("progress-comment");
249
+ y.innerText = "Loading";
250
+ var b = i("slideshow-images"),
251
+ x = i("slideshow-nav"),
252
+ S = i("game-container"),
253
+ L = i("game");
254
+ s.appendChild(c), c.appendChild(l), c.appendChild(b), c.appendChild(x), l.appendChild(d), l.appendChild(h), h.appendChild(f), h.appendChild(m), h.appendChild(p), p.appendChild(g), p.appendChild(v), h.appendChild(y), g.appendChild(w), S.appendChild(L), document.body.appendChild(s), document.body.appendChild(S)
255
+ }, function(n, e, t) {
256
+ var i = t(5);
257
+ "string" == typeof i && (i = [
258
+ [n.i, i, ""]
259
+ ]);
260
+ var o = {
261
+ hmr: !0
262
+ };
263
+ o.transform = void 0, o.insertInto = void 0;
264
+ t(7)(i, o);
265
+ i.locals && (n.exports = i.locals)
266
+ }, function(n, e, t) {
267
+ e = n.exports = t(6)(!1), e.push([n.i, "* {\n margin: 0;\n padding: 0;\n}\n\nhtml,\nbody {\n width: 100vw;\n height: 100vh;\n overflow: hidden;\n background: #002B50;\n font-family: Torus, Arial, Helvetica, sans-serif;\n color: #fff;\n}\n\n#game-container {\n position: absolute !important;\n left: 50%;\n top: 50%;\n display: none;\n}\n\n#game,\n#game canvas {\n width: 100%;\n height: 100%;\n}\n\n#loader {\n width: 100%;\n height: 100%;\n}\n\n/**\n * Slideshow\n */\n\n#slideshow {\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: space-evenly;\n display: flex;\n user-select: none;\n}\n\n@font-face {\n font-family: Torus;\n src:\n url('./torus-bold-webfont.woff2') format('woff2'),\n url('torus-bold-webfont.woff') format('woff');\n font-style: bold;\n font-weight: 700;\n}\n\n/**\n * Slideshow - Top section\n */\n#progress-spinner{\n margin-left: 0;\n margin-top: 0;\n left: 0px;\n display:none;\n transform: translate(100%, -50%);\n width:10vh;\n}\n#progress-spinner >div{\n width:2vh;\n height:2vh;\n}\n#thumbnail {\n box-shadow: 0 1vh 2vh rgba(0, 0, 0, 0.4);\n /* box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24); */\n border-radius: 16.667%;\n}\n\n#slideshow-top {\n display: flex;\n margin: 2.5vh 0;\n}\n\n#slideshow-top-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n flex-grow: 1;\n}\n\n#game-title, #progress-comment {\n display: flex;\n flex-grow: 1;\n align-items: center;\n font-size:2vh;\n}\n\n#progress-container {\n display: flex;\n align-items: center;\n flex-grow: 1;\n transition: 0.2s ease-out all;\n}\n\n#progress-container.done {\n opacity: 0;\n}\n\n#progress-bar {\n background: #fff;\n width: 100%;\n overflow: hidden;\n}\n\n#progress-fill {\n background: #3CF7DC;\n height: 100%;\n transition: 0.2s ease-out all;\n animation-name: fillColor;\n animation-duration: 3.5s;\n animation-iteration-count: infinite;\n animation-fill-mode: both;\n}\n\n@keyframes fillColor {\n 0% {\n background-color: #3CF7DC;\n }\n\n 25% {\n background-color: #FFA9BE;\n }\n\n 50% {\n background-color: #FFDC00;\n }\n\n 75% {\n background-color: #E0AEF5;\n }\n\n 100% {\n background-color: #3CF7DC;\n }\n}\n\n@media (orientation: portrait) {\n #thumbnail {\n margin-right: 2.4vh;\n }\n\n #game-title h1 {\n font-size: 2vh;\n }\n\n #slideshow-top {\n width: 70vw;\n }\n\n #progress-bar {\n height: 1vh;\n border-radius: 0.5vh;\n }\n\n #progress-fill {\n border-radius: 0.5vh;\n }\n\n #thumbnail {\n width: 5vh;\n height: 5vh;\n }\n\n #progress-amount {\n font-size: 2vh;\n margin-left: 1.5vh;\n width: 3vh;\n }\n}\n\n@media (orientation: landscape) {\n #thumbnail {\n margin-right: 3vh;\n }\n\n #game-title h1 {\n font-size: 3vh;\n }\n\n #slideshow-top {\n width: 50vw;\n }\n\n #progress-bar {\n height: 1.2vh;\n border-radius: 0.6vh;\n }\n\n #progress-fill {\n border-radius: 0.6vh;\n }\n\n #thumbnail {\n width: 7.5vh;\n height: 7.5vh;\n }\n\n #progress-amount {\n font-size: 2.5vh;\n margin-left: 1.875vh;\n width: 3.75vh;\n }\n}\n\n/**\n * Slideshow - Images section\n */\n\n#slideshow-images {\n width: 100vw;\n display: flex;\n justify-content: center;\n}\n\n#slideshow-images .image {\n position: absolute;\n box-shadow: 0 2.4vh 3.6vh rgba(0, 0, 0, 0.4);\n transition-property: transform;\n transition-timing-function: ease-in-out;\n perspective: 1000px;\n left: 0;\n overflow: hidden;\n /* border: 1vh solid; */\n}\n\n#slideshow-images .image img {\n width: 100%;\n height: 100%;\n}\n\n#slideshow-images .image:nth-of-type(1n) {\n border-color: #3BE8B0;\n}\n\n#slideshow-images .image:nth-of-type(2n) {\n border-color: #FF6D92;\n}\n\n#slideshow-images .image:nth-of-type(3n) {\n border-color: #A177FF;\n}\n\n#slideshow-images .image:nth-of-type(4n) {\n border-color: #FFD200;\n}\n\n#slideshow-images .left {\n z-index: 2;\n}\n#slideshow-images .right {\n z-index: 1;\n}\n\n#slideshow-images .middle {\n z-index: 3;\n}\n\n#slideshow-images .left img,\n#slideshow-images .right img {\n transform: scale(1.05);\n}\n\n#slideshow-images .left img,\n#slideshow-images .right img,\n#slideshow-images .fromLeft img,\n#slideshow-images .fromRight img {\n filter: blur(1vh);\n}\n\n#slideshow-images .inactive {\n display: none;\n}\n\n#slideshow-images .inactive.fromLeft,\n#slideshow-images .inactive.fromRight {\n display: block;\n}\n\n/**\n * Slideshow - Navigation section\n */\n\n#slideshow-nav {\n display: flex;\n justify-content: center;\n margin: 2.5vh 0;\n}\n\n#slideshow-nav .bullet {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n#slideshow-nav .bullet:after {\n content: '';\n background: #fff;\n border-radius: 0.4vh;\n width: 0.8vh;\n height: 0.8vh;\n}\n\n#slideshow-nav .bullet.active:after {\n background: #009CFF;\n}\n\n#slideshow-nav .bullet {\n width: 2.5vh;\n height: 2.5vh;\n}\n\n#slideshow-nav .bullet:after {\n border-radius: 50%;\n width: 50%;\n height: 50%;\n}\n\n/**\n * Pop-in animation\n */\n\n#slideshow-nav,\n#slideshow-images {\n opacity: 0;\n transition: 0.4s all ease-out;\n transform: translateY(2vh);\n perspective: 1000px;\n transition-delay: 400ms;\n}\n\n#slideshow-nav {\n transition-delay: 600ms;\n}\n\n#slideshow.active #slideshow-images,\n#slideshow.active #slideshow-nav {\n opacity: 1;\n transform: translateY(0);\n}\n\n@keyframes bounceInDown {\n\n from,\n 60%,\n 75%,\n 90%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n }\n\n 0% {\n transform: translate3d(0, -100vh, 0);\n }\n\n 40% {\n transform: translate3d(0, 0.5vh, 0);\n }\n\n 65% {\n transform: translate3d(0, -0.2vh, 0);\n }\n\n 80% {\n transform: translate3d(0, 0.1vh, 0);\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n\n#slideshow-top {\n transform: translate3d(0, -20vh, 0);\n opacity: 0;\n}\n\n#slideshow-top.active {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n animation-name: bounceInDown;\n animation-duration: 0.5s;\n}\n\n/**\n * Loading dots\n */\n.spinner {\n position: relative;\n left: -9999px;\n animation: dot-pulse 1.5s infinite linear;\n animation-delay: .25s;\n transform:translate(50vw, 50vh) translate(-130%, -130%);\n }\n\n .spinner:before, .spinner:after {\n content: '';\n display: inline-block;\n position: absolute;\n top: 0;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n }\n .spinner, .spinner:before, .spinner:after{\n width: 10px;\n height: 10px;\n border-radius: 5px;\n }\n\n .spinner:before {\n animation: dot-pulse 1.5s infinite linear;\n animation-delay: 0s;\n left:-20px;\n }\n\n .spinner:after {\n animation: dot-pulse 1.5s infinite linear;\n animation-delay: .5s;\n left:20px;\n }\n\n @keyframes dot-pulse {\n 0% {\n box-shadow: 9999px 0 0 -5px #FFF;\n }\n 30% {\n box-shadow: 9999px 0 0 2px #FFF;\n }\n 60%,\n 100% {\n box-shadow: 9999px 0 0 -5px #FFF;\n }\n }\n", ""])
268
+ }, function(n, e, t) {
269
+ "use strict";
270
+
271
+ function i(n, e) {
272
+ var t = n[1] || "",
273
+ i = n[3];
274
+ if (!i) return t;
275
+ if (e && "function" == typeof btoa) {
276
+ var r = o(i);
277
+ return [t].concat(i.sources.map(function(n) {
278
+ return "/*# sourceURL=" + i.sourceRoot + n + " */"
279
+ })).concat([r]).join("\n")
280
+ }
281
+ return [t].join("\n")
282
+ }
283
+
284
+ function o(n) {
285
+ return "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(n)))) + " */"
286
+ }
287
+ n.exports = function(n) {
288
+ var e = [];
289
+ return e.toString = function() {
290
+ return this.map(function(e) {
291
+ var t = i(e, n);
292
+ return e[2] ? "@media " + e[2] + "{" + t + "}" : t
293
+ }).join("")
294
+ }, e.i = function(n, t) {
295
+ "string" == typeof n && (n = [
296
+ [null, n, ""]
297
+ ]);
298
+ for (var i = {}, o = 0; o < this.length; o++) {
299
+ var r = this[o][0];
300
+ null != r && (i[r] = !0)
301
+ }
302
+ for (o = 0; o < n.length; o++) {
303
+ var a = n[o];
304
+ null != a[0] && i[a[0]] || (t && !a[2] ? a[2] = t : t && (a[2] = "(" + a[2] + ") and (" + t + ")"), e.push(a))
305
+ }
306
+ }, e
307
+ }
308
+ }, function(n, e, t) {
309
+ function i(n, e) {
310
+ for (var t = 0; t < n.length; t++) {
311
+ var i = n[t],
312
+ o = p[i.id];
313
+ if (o) {
314
+ o.refs++;
315
+ for (var r = 0; r < o.parts.length; r++) o.parts[r](i.parts[r]);
316
+ for (; r < i.parts.length; r++) o.parts.push(u(i.parts[r], e))
317
+ } else {
318
+ for (var a = [], r = 0; r < i.parts.length; r++) a.push(u(i.parts[r], e));
319
+ p[i.id] = {
320
+ id: i.id,
321
+ refs: 1,
322
+ parts: a
323
+ }
324
+ }
325
+ }
326
+ }
327
+
328
+ function o(n, e) {
329
+ for (var t = [], i = {}, o = 0; o < n.length; o++) {
330
+ var r = n[o],
331
+ a = e.base ? r[0] + e.base : r[0],
332
+ s = r[1],
333
+ c = r[2],
334
+ l = r[3],
335
+ d = {
336
+ css: s,
337
+ media: c,
338
+ sourceMap: l
339
+ };
340
+ i[a] ? i[a].parts.push(d) : t.push(i[a] = {
341
+ id: a,
342
+ parts: [d]
343
+ })
344
+ }
345
+ return t
346
+ }
347
+
348
+ function r(n, e) {
349
+ var t = v(n.insertInto);
350
+ if (!t) throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");
351
+ var i = x[x.length - 1];
352
+ if ("top" === n.insertAt) i ? i.nextSibling ? t.insertBefore(e, i.nextSibling) : t.appendChild(e) : t.insertBefore(e, t.firstChild), x.push(e);
353
+ else if ("bottom" === n.insertAt) t.appendChild(e);
354
+ else {
355
+ if ("object" != typeof n.insertAt || !n.insertAt.before) throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");
356
+ var o = v(n.insertAt.before, t);
357
+ t.insertBefore(e, o)
358
+ }
359
+ }
360
+
361
+ function a(n) {
362
+ if (null === n.parentNode) return !1;
363
+ n.parentNode.removeChild(n);
364
+ var e = x.indexOf(n);
365
+ e >= 0 && x.splice(e, 1)
366
+ }
367
+
368
+ function s(n) {
369
+ var e = document.createElement("style");
370
+ if (void 0 === n.attrs.type && (n.attrs.type = "text/css"), void 0 === n.attrs.nonce) {
371
+ var t = d();
372
+ t && (n.attrs.nonce = t)
373
+ }
374
+ return l(e, n.attrs), r(n, e), e
375
+ }
376
+
377
+ function c(n) {
378
+ var e = document.createElement("link");
379
+ return void 0 === n.attrs.type && (n.attrs.type = "text/css"), n.attrs.rel = "stylesheet", l(e, n.attrs), r(n, e), e
380
+ }
381
+
382
+ function l(n, e) {
383
+ Object.keys(e).forEach(function(t) {
384
+ n.setAttribute(t, e[t])
385
+ })
386
+ }
387
+
388
+ function d() {
389
+ return t.nc
390
+ }
391
+
392
+ function u(n, e) {
393
+ var t, i, o, r;
394
+ if (e.transform && n.css) {
395
+ if (!(r = "function" == typeof e.transform ? e.transform(n.css) : e.transform.default(n.css))) return function() {};
396
+ n.css = r
397
+ }
398
+ if (e.singleton) {
399
+ var l = b++;
400
+ t = y || (y = s(e)), i = h.bind(null, t, l, !1), o = h.bind(null, t, l, !0)
401
+ } else n.sourceMap && "function" == typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "function" == typeof Blob && "function" == typeof btoa ? (t = c(e), i = m.bind(null, t, e), o = function() {
402
+ a(t), t.href && URL.revokeObjectURL(t.href)
403
+ }) : (t = s(e), i = f.bind(null, t), o = function() {
404
+ a(t)
405
+ });
406
+ return i(n),
407
+ function(e) {
408
+ if (e) {
409
+ if (e.css === n.css && e.media === n.media && e.sourceMap === n.sourceMap) return;
410
+ i(n = e)
411
+ } else o()
412
+ }
413
+ }
414
+
415
+ function h(n, e, t, i) {
416
+ var o = t ? "" : i.css;
417
+ if (n.styleSheet) n.styleSheet.cssText = L(e, o);
418
+ else {
419
+ var r = document.createTextNode(o),
420
+ a = n.childNodes;
421
+ a[e] && n.removeChild(a[e]), a.length ? n.insertBefore(r, a[e]) : n.appendChild(r)
422
+ }
423
+ }
424
+
425
+ function f(n, e) {
426
+ var t = e.css,
427
+ i = e.media;
428
+ if (i && n.setAttribute("media", i), n.styleSheet) n.styleSheet.cssText = t;
429
+ else {
430
+ for (; n.firstChild;) n.removeChild(n.firstChild);
431
+ n.appendChild(document.createTextNode(t))
432
+ }
433
+ }
434
+
435
+ function m(n, e, t) {
436
+ var i = t.css,
437
+ o = t.sourceMap,
438
+ r = void 0 === e.convertToAbsoluteUrls && o;
439
+ (e.convertToAbsoluteUrls || r) && (i = S(i)), o && (i += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(o)))) + " */");
440
+ var a = new Blob([i], {
441
+ type: "text/css"
442
+ }),
443
+ s = n.href;
444
+ n.href = URL.createObjectURL(a), s && URL.revokeObjectURL(s)
445
+ }
446
+ var p = {},
447
+ g = function(n) {
448
+ var e;
449
+ return function() {
450
+ return void 0 === e && (e = n.apply(this, arguments)), e
451
+ }
452
+ }(function() {
453
+ return window && document && document.all && !window.atob
454
+ }),
455
+ w = function(n, e) {
456
+ return e ? e.querySelector(n) : document.querySelector(n)
457
+ },
458
+ v = function(n) {
459
+ var e = {};
460
+ return function(n, t) {
461
+ if ("function" == typeof n) return n();
462
+ if (void 0 === e[n]) {
463
+ var i = w.call(this, n, t);
464
+ if (window.HTMLIFrameElement && i instanceof window.HTMLIFrameElement) try {
465
+ i = i.contentDocument.head
466
+ } catch (n) {
467
+ i = null
468
+ }
469
+ e[n] = i
470
+ }
471
+ return e[n]
472
+ }
473
+ }(),
474
+ y = null,
475
+ b = 0,
476
+ x = [],
477
+ S = t(8);
478
+ n.exports = function(n, e) {
479
+ if ("undefined" != typeof DEBUG && DEBUG && "object" != typeof document) throw new Error("The style-loader cannot be used in a non-browser environment");
480
+ e = e || {}, e.attrs = "object" == typeof e.attrs ? e.attrs : {}, e.singleton || "boolean" == typeof e.singleton || (e.singleton = g()), e.insertInto || (e.insertInto = "head"), e.insertAt || (e.insertAt = "bottom");
481
+ var t = o(n, e);
482
+ return i(t, e),
483
+ function(n) {
484
+ for (var r = [], a = 0; a < t.length; a++) {
485
+ var s = t[a],
486
+ c = p[s.id];
487
+ c.refs--, r.push(c)
488
+ }
489
+ if (n) {
490
+ i(o(n, e), e)
491
+ }
492
+ for (var a = 0; a < r.length; a++) {
493
+ var c = r[a];
494
+ if (0 === c.refs) {
495
+ for (var l = 0; l < c.parts.length; l++) c.parts[l]();
496
+ delete p[c.id]
497
+ }
498
+ }
499
+ }
500
+ };
501
+ var L = function() {
502
+ var n = [];
503
+ return function(e, t) {
504
+ return n[e] = t, n.filter(Boolean).join("\n")
505
+ }
506
+ }()
507
+ }, function(n, e) {
508
+ n.exports = function(n) {
509
+ var e = "undefined" != typeof window && window.location;
510
+ if (!e) throw new Error("fixUrls requires window.location");
511
+ if (!n || "string" != typeof n) return n;
512
+ var t = e.protocol + "//" + e.host,
513
+ i = t + e.pathname.replace(/\/[^\/]*$/, "/");
514
+ return n.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, function(n, e) {
515
+ var o = e.trim().replace(/^"(.*)"$/, function(n, e) {
516
+ return e
517
+ }).replace(/^'(.*)'$/, function(n, e) {
518
+ return e
519
+ });
520
+ if (/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)) return n;
521
+ var r;
522
+ return r = 0 === o.indexOf("//") ? o : 0 === o.indexOf("/") ? t + o : i + o.replace(/^\.\//, ""), "url(" + JSON.stringify(r) + ")"
523
+ })
524
+ }
525
+ }, function(n, e, t) {
526
+ "use strict";
527
+
528
+ function i() {
529
+ var n = window.innerWidth,
530
+ e = window.innerHeight,
531
+ t = n / e;
532
+ d.style.width = "".concat(n, "px"), d.style.height = "".concat(e, "px"), t > w.a.maxRatio ? d.style.width = "".concat(e * w.a.maxRatio, "px") : t < w.a.minRatio && (d.style.height = "".concat(n / w.a.minRatio, "px"));
533
+ var i = d.getBoundingClientRect();
534
+ d.style.marginLeft = "".concat(-.5 * i.width, "px"), d.style.marginTop = "".concat(-.5 * i.height, "px")
535
+ }
536
+
537
+ function o() {
538
+ d = document.getElementById("game-container"), u = document.getElementById("loader"), h = document.getElementById("progress-container"), f = document.getElementById("progress-fill"), m = document.getElementById("progress-amount"), p = document.getElementById("progress-comment"), window.addEventListener("resize", i), window.addEventListener("focus", i), window.PokiSDK.init().then(function() {
539
+ window.pokiBridge ? window.unityGame.SendMessage(window.pokiBridge, "ready") : window.pokiReady = !0
540
+ }).catch(function() {
541
+ window.pokiBridge ? window.unityGame.SendMessage(window.pokiBridge, "adblock") : window.pokiAdBlock = !0, console.info("AdBlocker active")
542
+ }), window.PokiSDK.setDebug(w.a && w.a.debug)
543
+ }
544
+
545
+ function r() {
546
+ d.style.display = "block", u.style.display = "none", i(), PokiSDK.gameLoadingFinished(), window.removeSlideshowEventListeners(), g && clearTimeout(g)
547
+ }
548
+
549
+ function a(n, e) {
550
+ if (n.Module) {
551
+ var t = 100 * e;
552
+ f.style.width = "".concat(t, "%"), m.innerHTML = "".concat(t << 0, "%"), w.a.fileSize && (m.innerHTML += " of ".concat(w.a.fileSize, "MB"));
553
+ var i = {
554
+ percentageDone: t
555
+ };
556
+ PokiSDK.gameLoadingProgress(i), e >= 1 && "done" !== h.className && (h.className = "done", document.getElementById("progress-comment").innerHTML = "Preparing game...", document.getElementById("progress-spinner").style.display = "flex", g && clearTimeout(g))
557
+ }
558
+ }
559
+
560
+ function s() {
561
+ var n = w.a.loadingComments || ["Loading..."];
562
+ n ? (p.innerHTML = n[y], y++, y >= n.length && (y = 0), g = setTimeout(s, w.a.commentChangeTime)) : p.innerHTML = ""
563
+ }
564
+
565
+ function c() {
566
+ ! function() {
567
+ var n = document.createElement("script");
568
+ n.src = w.a.unityWebglLoaderUrl, n.addEventListener("load", function() {
569
+ window.unityGame = window.UnityLoader.instantiate("game", w.a.unityWebglBuildUrl, {
570
+ onProgress: a,
571
+ Module: {
572
+ onRuntimeInitialized: r
573
+ }
574
+ })
575
+ }), document.body.appendChild(n)
576
+ }(), PokiSDK.gameLoadingStart(), w.a.fileSize && (m.innerHTML += " of ".concat(w.a.fileSize, "MB"), m.style.width = "12vh", m.style.whiteSpace = "nowrap"), s()
577
+ }
578
+
579
+ function l() {
580
+ window.setTimeout(function() {
581
+ var n = document.getElementById("spinner");
582
+ n && n.parentNode && n.parentNode.removeChild(n)
583
+ }, w.a.spinnerRemoveDelay)
584
+ }
585
+ var d, u, h, f, m, p, g, w = t(0),
586
+ v = t(1),
587
+ y = 0;
588
+ ! function() {
589
+ var n = document.createElement("div");
590
+ n.setAttribute("id", "spinner"), n.className = "spinner", document.body.appendChild(n)
591
+ }(), window.onload = function() {
592
+ o();
593
+ try {
594
+ Object(v.a)().then(function() {
595
+ l()
596
+ })
597
+ } catch (n) {
598
+ console.info("Slideshow loading error", n), l()
599
+ }
600
+ c()
601
+ }
602
+ }, function(n, e, t) {
603
+ var i = function(n) {
604
+ "use strict";
605
+
606
+ function e(n, e, t, o) {
607
+ var r = e && e.prototype instanceof i ? e : i,
608
+ a = Object.create(r.prototype),
609
+ s = new h(o || []);
610
+ return a._invoke = c(n, t, s), a
611
+ }
612
+
613
+ function t(n, e, t) {
614
+ try {
615
+ return {
616
+ type: "normal",
617
+ arg: n.call(e, t)
618
+ }
619
+ } catch (n) {
620
+ return {
621
+ type: "throw",
622
+ arg: n
623
+ }
624
+ }
625
+ }
626
+
627
+ function i() {}
628
+
629
+ function o() {}
630
+
631
+ function r() {}
632
+
633
+ function a(n) {
634
+ ["next", "throw", "return"].forEach(function(e) {
635
+ n[e] = function(n) {
636
+ return this._invoke(e, n)
637
+ }
638
+ })
639
+ }
640
+
641
+ function s(n) {
642
+ function e(i, o, r, a) {
643
+ var s = t(n[i], n, o);
644
+ if ("throw" !== s.type) {
645
+ var c = s.arg,
646
+ l = c.value;
647
+ return l && "object" == typeof l && w.call(l, "__await") ? Promise.resolve(l.__await).then(function(n) {
648
+ e("next", n, r, a)
649
+ }, function(n) {
650
+ e("throw", n, r, a)
651
+ }) : Promise.resolve(l).then(function(n) {
652
+ c.value = n, r(c)
653
+ }, function(n) {
654
+ return e("throw", n, r, a)
655
+ })
656
+ }
657
+ a(s.arg)
658
+ }
659
+
660
+ function i(n, t) {
661
+ function i() {
662
+ return new Promise(function(i, o) {
663
+ e(n, t, i, o)
664
+ })
665
+ }
666
+ return o = o ? o.then(i, i) : i()
667
+ }
668
+ var o;
669
+ this._invoke = i
670
+ }
671
+
672
+ function c(n, e, i) {
673
+ var o = S;
674
+ return function(r, a) {
675
+ if (o === k) throw new Error("Generator is already running");
676
+ if (o === E) {
677
+ if ("throw" === r) throw a;
678
+ return m()
679
+ }
680
+ for (i.method = r, i.arg = a;;) {
681
+ var s = i.delegate;
682
+ if (s) {
683
+ var c = l(s, i);
684
+ if (c) {
685
+ if (c === I) continue;
686
+ return c
687
+ }
688
+ }
689
+ if ("next" === i.method) i.sent = i._sent = i.arg;
690
+ else if ("throw" === i.method) {
691
+ if (o === S) throw o = E, i.arg;
692
+ i.dispatchException(i.arg)
693
+ } else "return" === i.method && i.abrupt("return", i.arg);
694
+ o = k;
695
+ var d = t(n, e, i);
696
+ if ("normal" === d.type) {
697
+ if (o = i.done ? E : L, d.arg === I) continue;
698
+ return {
699
+ value: d.arg,
700
+ done: i.done
701
+ }
702
+ }
703
+ "throw" === d.type && (o = E, i.method = "throw", i.arg = d.arg)
704
+ }
705
+ }
706
+ }
707
+
708
+ function l(n, e) {
709
+ var i = n.iterator[e.method];
710
+ if (i === p) {
711
+ if (e.delegate = null, "throw" === e.method) {
712
+ if (n.iterator.return && (e.method = "return", e.arg = p, l(n, e), "throw" === e.method)) return I;
713
+ e.method = "throw", e.arg = new TypeError("The iterator does not provide a 'throw' method")
714
+ }
715
+ return I
716
+ }
717
+ var o = t(i, n.iterator, e.arg);
718
+ if ("throw" === o.type) return e.method = "throw", e.arg = o.arg, e.delegate = null, I;
719
+ var r = o.arg;
720
+ return r ? r.done ? (e[n.resultName] = r.value, e.next = n.nextLoc, "return" !== e.method && (e.method = "next", e.arg = p), e.delegate = null, I) : r : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, I)
721
+ }
722
+
723
+ function d(n) {
724
+ var e = {
725
+ tryLoc: n[0]
726
+ };
727
+ 1 in n && (e.catchLoc = n[1]), 2 in n && (e.finallyLoc = n[2], e.afterLoc = n[3]), this.tryEntries.push(e)
728
+ }
729
+
730
+ function u(n) {
731
+ var e = n.completion || {};
732
+ e.type = "normal", delete e.arg, n.completion = e
733
+ }
734
+
735
+ function h(n) {
736
+ this.tryEntries = [{
737
+ tryLoc: "root"
738
+ }], n.forEach(d, this), this.reset(!0)
739
+ }
740
+
741
+ function f(n) {
742
+ if (n) {
743
+ var e = n[y];
744
+ if (e) return e.call(n);
745
+ if ("function" == typeof n.next) return n;
746
+ if (!isNaN(n.length)) {
747
+ var t = -1,
748
+ i = function e() {
749
+ for (; ++t < n.length;)
750
+ if (w.call(n, t)) return e.value = n[t], e.done = !1, e;
751
+ return e.value = p, e.done = !0, e
752
+ };
753
+ return i.next = i
754
+ }
755
+ }
756
+ return {
757
+ next: m
758
+ }
759
+ }
760
+
761
+ function m() {
762
+ return {
763
+ value: p,
764
+ done: !0
765
+ }
766
+ }
767
+ var p, g = Object.prototype,
768
+ w = g.hasOwnProperty,
769
+ v = "function" == typeof Symbol ? Symbol : {},
770
+ y = v.iterator || "@@iterator",
771
+ b = v.asyncIterator || "@@asyncIterator",
772
+ x = v.toStringTag || "@@toStringTag";
773
+ n.wrap = e;
774
+ var S = "suspendedStart",
775
+ L = "suspendedYield",
776
+ k = "executing",
777
+ E = "completed",
778
+ I = {},
779
+ C = {};
780
+ C[y] = function() {
781
+ return this
782
+ };
783
+ var T = Object.getPrototypeOf,
784
+ B = T && T(T(f([])));
785
+ B && B !== g && w.call(B, y) && (C = B);
786
+ var j = r.prototype = i.prototype = Object.create(C);
787
+ return o.prototype = j.constructor = r, r.constructor = o, r[x] = o.displayName = "GeneratorFunction", n.isGeneratorFunction = function(n) {
788
+ var e = "function" == typeof n && n.constructor;
789
+ return !!e && (e === o || "GeneratorFunction" === (e.displayName || e.name))
790
+ }, n.mark = function(n) {
791
+ return Object.setPrototypeOf ? Object.setPrototypeOf(n, r) : (n.__proto__ = r, x in n || (n[x] = "GeneratorFunction")), n.prototype = Object.create(j), n
792
+ }, n.awrap = function(n) {
793
+ return {
794
+ __await: n
795
+ }
796
+ }, a(s.prototype), s.prototype[b] = function() {
797
+ return this
798
+ }, n.AsyncIterator = s, n.async = function(t, i, o, r) {
799
+ var a = new s(e(t, i, o, r));
800
+ return n.isGeneratorFunction(i) ? a : a.next().then(function(n) {
801
+ return n.done ? n.value : a.next()
802
+ })
803
+ }, a(j), j[x] = "Generator", j[y] = function() {
804
+ return this
805
+ }, j.toString = function() {
806
+ return "[object Generator]"
807
+ }, n.keys = function(n) {
808
+ var e = [];
809
+ for (var t in n) e.push(t);
810
+ return e.reverse(),
811
+ function t() {
812
+ for (; e.length;) {
813
+ var i = e.pop();
814
+ if (i in n) return t.value = i, t.done = !1, t
815
+ }
816
+ return t.done = !0, t
817
+ }
818
+ }, n.values = f, h.prototype = {
819
+ constructor: h,
820
+ reset: function(n) {
821
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = p, this.done = !1, this.delegate = null, this.method = "next", this.arg = p, this.tryEntries.forEach(u), !n)
822
+ for (var e in this) "t" === e.charAt(0) && w.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = p)
823
+ },
824
+ stop: function() {
825
+ this.done = !0;
826
+ var n = this.tryEntries[0],
827
+ e = n.completion;
828
+ if ("throw" === e.type) throw e.arg;
829
+ return this.rval
830
+ },
831
+ dispatchException: function(n) {
832
+ function e(e, i) {
833
+ return r.type = "throw", r.arg = n, t.next = e, i && (t.method = "next", t.arg = p), !!i
834
+ }
835
+ if (this.done) throw n;
836
+ for (var t = this, i = this.tryEntries.length - 1; i >= 0; --i) {
837
+ var o = this.tryEntries[i],
838
+ r = o.completion;
839
+ if ("root" === o.tryLoc) return e("end");
840
+ if (o.tryLoc <= this.prev) {
841
+ var a = w.call(o, "catchLoc"),
842
+ s = w.call(o, "finallyLoc");
843
+ if (a && s) {
844
+ if (this.prev < o.catchLoc) return e(o.catchLoc, !0);
845
+ if (this.prev < o.finallyLoc) return e(o.finallyLoc)
846
+ } else if (a) {
847
+ if (this.prev < o.catchLoc) return e(o.catchLoc, !0)
848
+ } else {
849
+ if (!s) throw new Error("try statement without catch or finally");
850
+ if (this.prev < o.finallyLoc) return e(o.finallyLoc)
851
+ }
852
+ }
853
+ }
854
+ },
855
+ abrupt: function(n, e) {
856
+ for (var t = this.tryEntries.length - 1; t >= 0; --t) {
857
+ var i = this.tryEntries[t];
858
+ if (i.tryLoc <= this.prev && w.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
859
+ var o = i;
860
+ break
861
+ }
862
+ }
863
+ o && ("break" === n || "continue" === n) && o.tryLoc <= e && e <= o.finallyLoc && (o = null);
864
+ var r = o ? o.completion : {};
865
+ return r.type = n, r.arg = e, o ? (this.method = "next", this.next = o.finallyLoc, I) : this.complete(r)
866
+ },
867
+ complete: function(n, e) {
868
+ if ("throw" === n.type) throw n.arg;
869
+ return "break" === n.type || "continue" === n.type ? this.next = n.arg : "return" === n.type ? (this.rval = this.arg = n.arg, this.method = "return", this.next = "end") : "normal" === n.type && e && (this.next = e), I
870
+ },
871
+ finish: function(n) {
872
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
873
+ var t = this.tryEntries[e];
874
+ if (t.finallyLoc === n) return this.complete(t.completion, t.afterLoc), u(t), I
875
+ }
876
+ },
877
+ catch: function(n) {
878
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
879
+ var t = this.tryEntries[e];
880
+ if (t.tryLoc === n) {
881
+ var i = t.completion;
882
+ if ("throw" === i.type) {
883
+ var o = i.arg;
884
+ u(t)
885
+ }
886
+ return o
887
+ }
888
+ }
889
+ throw new Error("illegal catch attempt")
890
+ },
891
+ delegateYield: function(n, e, t) {
892
+ return this.delegate = {
893
+ iterator: f(n),
894
+ resultName: e,
895
+ nextLoc: t
896
+ }, "next" === this.method && (this.arg = p), I
897
+ }
898
+ }, n
899
+ }(n.exports);
900
+ try {
901
+ regeneratorRuntime = i
902
+ } catch (n) {
903
+ Function("r", "regeneratorRuntime = r")(i)
904
+ }
905
+ }, function(n, e) {
906
+ window.initPokiBridge = function(n) {
907
+ window.pokiReady || window.pokiAdBlock ? window.pokiReady ? window.unityGame.SendMessage(n, "ready") : window.pokiAdBlock && window.unityGame.SendMessage(n, "adblock") : window.pokiBridge = n, window.commercialBreak = function() {
908
+ PokiSDK.commercialBreak().then(function() {
909
+ window.unityGame.SendMessage(n, "commercialBreakCompleted")
910
+ })
911
+ }, window.rewardedBreak = function() {
912
+ PokiSDK.rewardedBreak().then(function(e) {
913
+ window.unityGame.SendMessage(n, "rewardedBreakCompleted", e.toString())
914
+ })
915
+ }
916
+ }
917
+ }]);