@bigbinary/neeto-editor 1.25.8 → 1.25.9
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/index.cjs.js +252 -481
- package/index.js +252 -481
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -84148,282 +84148,9 @@ if (typeof customElements !== 'undefined' && !customElements.get('em-emoji-picke
|
|
|
84148
84148
|
var $b77bcf1206efff3f$exports = {};
|
|
84149
84149
|
$b77bcf1206efff3f$exports = ":host {\n display: flex;\n width: -webkit-min-content;\n width: -moz-min-content;\n width: min-content;\n height: 435px;\n min-height: 230px;\n border-radius: var(--border-radius);\n box-shadow: var(--shadow);\n --border-radius: 10px;\n --category-icon-size: 18px;\n --font-family: -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", sans-serif;\n --font-size: 15px;\n --shadow-color: 0deg 0% 0%;\n --shadow:\n 0.3px 0.5px 2.7px hsl(var(--shadow-color) / 0.14),\n 0.4px 0.8px 1px -3.2px hsl(var(--shadow-color) / 0.14),\n 1px 2px 2.5px -4.5px hsl(var(--shadow-color) / 0.14);\n}\n\n[data-theme=light] {\n --em-rgb-color: var(--rgb-color, 34, 36, 39);\n --em-rgb-accent: var(--rgb-accent, 34, 102, 237);\n --em-rgb-background: var(--rgb-background, 255, 255, 255);\n --em-rgb-input: var(--rgb-input, 255, 255, 255);\n --em-color-border: var(--color-border, rgba(0, 0, 0, .05));\n --em-color-border-over: var(--color-border-over, rgba(0, 0, 0, .1));\n}\n\n[data-theme=dark] {\n --em-rgb-color: var(--rgb-color, 222, 222, 221);\n --em-rgb-accent: var(--rgb-accent, 58, 130, 247);\n --em-rgb-background: var(--rgb-background, 21, 22, 23);\n --em-rgb-input: var(--rgb-input, 0, 0, 0);\n --em-color-border: var(--color-border, rgba(255, 255, 255, .1));\n --em-color-border-over: var(--color-border-over, rgba(255, 255, 255, .2));\n}\n\n#root {\n --color-a: rgb(var(--em-rgb-color));\n --color-b: rgba(var(--em-rgb-color), .65);\n --color-c: rgba(var(--em-rgb-color), .45);\n --padding: 12px;\n --padding-small: calc(var(--padding) / 2);\n --sidebar-width: 16px;\n --duration: 225ms;\n --duration-fast: 125ms;\n --duration-instant: 50ms;\n --easing: cubic-bezier(.4, .0, .2, 1);\n position: relative;\n width: 100%;\n text-align: left;\n border-radius: var(--border-radius);\n background-color: rgb(var(--em-rgb-background));\n}\n\n@media (prefers-reduced-motion) {\n #root {\n --duration: 0;\n --duration-fast: 0;\n --duration-instant: 0;\n }\n}\n\n#root[data-menu] button {\n cursor: auto;\n}\n\n#root[data-menu] .menu button {\n cursor: pointer;\n}\n\n:host, #root, input, button {\n color: rgb(var(--em-rgb-color));\n font-family: var(--font-family);\n font-size: var(--font-size);\n line-height: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n*, *:before, *:after {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n min-width: 0;\n}\n\n.relative {\n position: relative;\n}\n\n.flex {\n display: flex;\n}\n\n.flex-auto {\n flex: 0 0 auto;\n}\n\n.flex-center {\n justify-content: center;\n}\n\n.flex-column {\n flex-direction: column;\n}\n\n.flex-grow {\n flex: 1 1 auto;\n}\n\n.flex-middle {\n align-items: center;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.padding {\n padding: var(--padding);\n}\n\n.padding-t {\n padding-top: var(--padding);\n}\n\n.padding-lr {\n padding-left: var(--padding);\n padding-right: var(--padding);\n}\n\n.padding-r {\n padding-right: var(--padding);\n}\n\n.padding-small {\n padding: var(--padding-small);\n}\n\n.padding-small-b {\n padding-bottom: var(--padding-small);\n}\n\n.padding-small-lr {\n padding-left: var(--padding-small);\n padding-right: var(--padding-small);\n}\n\n.margin {\n margin: var(--padding);\n}\n\n.margin-r {\n margin-right: var(--padding);\n}\n\n.margin-l {\n margin-left: var(--padding);\n}\n\n.margin-small-l {\n margin-left: var(--padding-small);\n}\n\n.margin-small-lr {\n margin-left: var(--padding-small);\n margin-right: var(--padding-small);\n}\n\n.align-l {\n text-align: left;\n}\n\n.align-r {\n text-align: right;\n}\n\n.color-a {\n color: var(--color-a);\n}\n\n.color-b {\n color: var(--color-b);\n}\n\n.color-c {\n color: var(--color-c);\n}\n\n.ellipsis {\n white-space: nowrap;\n max-width: 100%;\n width: auto;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.sr-only {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\na {\n cursor: pointer;\n color: rgb(var(--em-rgb-accent));\n}\n\na:hover {\n text-decoration: underline;\n}\n\n.spacer {\n height: 10px;\n}\n\n.scroll {\n overflow: auto;\n overflow-x: hidden;\n padding-right: 0;\n}\n\n.scroll::-webkit-scrollbar {\n width: var(--sidebar-width);\n height: var(--sidebar-width);\n}\n\n.scroll::-webkit-scrollbar-track {\n border: 0;\n}\n\n.scroll::-webkit-scrollbar-button {\n width: 0;\n height: 0;\n display: none;\n}\n\n.scroll::-webkit-scrollbar-corner {\n background-color: transparent;\n}\n\n.scroll::-webkit-scrollbar-thumb {\n min-height: 20%;\n min-height: 65px;\n border: 4px solid rgb(var(--em-rgb-background));\n border-radius: 8px;\n}\n\n.scroll::-webkit-scrollbar-thumb:hover {\n background-color: var(--em-color-border-over) !important;\n}\n\n.scroll:hover::-webkit-scrollbar-thumb {\n background-color: var(--em-color-border);\n}\n\n.sticky {\n position: -webkit-sticky;\n position: sticky;\n z-index: 1;\n top: -1px;\n font-weight: 500;\n background-color: rgba(var(--em-rgb-background), 0.9);\n -webkit-backdrop-filter: blur(4px);\n backdrop-filter: blur(4px);\n}\n\n.search {\n z-index: 2;\n position: relative;\n}\n\n.search input, .search button {\n font-size: calc(var(--font-size) - 1px);\n}\n\n.search input[type=search] {\n display: block;\n border: 0;\n outline: 0;\n width: 100%;\n padding: 10px 2em 10px 2.2em;\n border-radius: 10px;\n background-color: var(--em-color-border);\n transition-duration: var(--duration);\n transition-property: background-color, box-shadow;\n transition-timing-function: var(--easing);\n}\n\n.search input[type=search]::-moz-placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search]:-ms-input-placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search]::placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search], .search input[type=search]::-webkit-search-decoration, .search input[type=search]::-webkit-search-cancel-button, .search input[type=search]::-webkit-search-results-button, .search input[type=search]::-webkit-search-results-decoration {\n -webkit-appearance: none;\n appearance: none;\n}\n\n.search input[type=search]:focus {\n background-color: rgb(var(--em-rgb-input));\n box-shadow: inset 0 0 0 1px rgb(var(--em-rgb-accent)), 0 1px 3px rgba(65, 69, 73, 0.2);\n}\n\n.search .icon {\n z-index: 1;\n position: absolute;\n top: 50%;\n color: rgba(var(--em-rgb-color), 0.7);\n transform: translateY(-50%);\n}\n\n.search .loupe {\n left: 0.7em;\n pointer-events: none;\n}\n\n.search .delete {\n right: 0.7em;\n}\n\nsvg {\n fill: currentColor;\n width: 1em;\n height: 1em;\n}\n\nbutton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n cursor: pointer;\n color: currentColor;\n border: 0;\n background-color: transparent;\n}\n\n#nav {\n z-index: 2;\n position: relative;\n padding-top: 12px;\n padding-bottom: 12px;\n padding-right: var(--sidebar-width);\n}\n\n#nav button {\n color: var(--color-b);\n transition: color var(--duration) var(--easing);\n}\n\n#nav button:hover {\n color: var(--color-a);\n}\n\n#nav svg, #nav img {\n width: var(--category-icon-size);\n height: var(--category-icon-size);\n}\n\n#nav .bar {\n position: absolute;\n bottom: -12px;\n left: 0;\n width: 100%;\n height: 3px;\n background-color: rgb(var(--em-rgb-accent));\n border-radius: 3px 3px 0 0;\n transition: transform var(--duration) var(--easing);\n}\n\n#nav button[aria-selected] {\n color: rgb(var(--em-rgb-accent));\n}\n\n#preview {\n z-index: 2;\n position: relative;\n padding: calc(var(--padding) + 4px) var(--padding);\n padding-right: var(--sidebar-width);\n}\n\n#nav:before, #preview:before {\n content: \"\";\n position: absolute;\n left: 0;\n right: 0;\n height: 2px;\n}\n\n#nav[data-position=top]:before, #preview[data-position=top]:before {\n top: 100%;\n background: linear-gradient(to bottom, var(--em-color-border), transparent);\n}\n\n#nav[data-position=bottom]:before, #preview[data-position=bottom]:before {\n bottom: 100%;\n background: linear-gradient(to top, var(--em-color-border), transparent);\n}\n\n.category button {\n position: relative;\n font-family: -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", sans-serif;\n}\n\n.category button > * {\n position: relative;\n}\n\n.category button .background {\n position: absolute;\n inset: 0;\n opacity: 0;\n background-color: var(--em-color-border);\n transition: opacity var(--duration-fast) var(--easing) var(--duration-instant);\n}\n\n.category button:hover .background {\n transition-duration: var(--duration-instant);\n transition-delay: 0ms;\n}\n\n.category button[aria-selected] .background {\n opacity: 1;\n}\n\n.category button[data-keyboard] .background {\n transition: none;\n}\n\n.row {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n}\n\n.skin-tone-button {\n border-radius: 100%;\n border: 1px solid transparent;\n}\n\n.skin-tone-button:hover {\n border-color: var(--em-color-border);\n}\n\n.skin-tone-button:active .skin-tone {\n transform: scale(0.85) !important;\n}\n\n.skin-tone-button .skin-tone {\n transition: transform var(--duration) var(--easing);\n}\n\n.skin-tone-button[aria-selected] {\n border-left-width: 0;\n border-right-width: 0;\n border-top-color: rgba(0, 0, 0, 0.05);\n border-bottom-color: transparent;\n background-color: var(--em-color-border);\n}\n\n.skin-tone-button[aria-selected] .skin-tone {\n transform: scale(0.9);\n}\n\n.menu {\n z-index: 2;\n position: absolute;\n white-space: nowrap;\n padding: 4px;\n border: 1px solid var(--em-color-border);\n background-color: rgba(var(--em-rgb-background), 0.9);\n -webkit-backdrop-filter: blur(4px);\n backdrop-filter: blur(4px);\n border-radius: 10px;\n box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);\n transition-property: opacity, transform;\n transition-duration: var(--duration);\n transition-timing-function: var(--easing);\n}\n\n.menu.hidden {\n opacity: 0;\n}\n\n.menu[data-position=bottom] {\n transform-origin: bottom right;\n}\n\n.menu[data-position=bottom].hidden {\n transform: scale(0.9) rotate(-3deg) translateY(5%);\n}\n\n.menu[data-position=top] {\n transform-origin: top right;\n}\n\n.menu[data-position=top].hidden {\n transform: scale(0.9) rotate(3deg) translateY(-5%);\n}\n\n.menu input[type=radio] {\n position: absolute;\n overflow: hidden;\n clip: rect(0 0 0 0);\n width: 1px;\n height: 1px;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\n.menu input[type=radio]:checked + .option {\n box-shadow: 0 0 0 2px rgb(var(--em-rgb-accent));\n}\n\n.option {\n width: 100%;\n padding: 4px 6px;\n border-radius: 6px;\n}\n\n.option:hover {\n color: #fff;\n background-color: rgb(var(--em-rgb-accent));\n}\n\n.skin-tone {\n position: relative;\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 100%;\n overflow: hidden;\n}\n\n.skin-tone:after {\n content: \"\";\n position: absolute;\n inset: 0;\n border-radius: 100%;\n border: 1px solid rgba(0, 0, 0, 0.8);\n mix-blend-mode: overlay;\n box-shadow: inset 0 -2px 3px #000, inset 0 1px 2px #fff;\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);\n}\n\n.skin-tone-1 {\n background-color: #ffc93a;\n}\n\n.skin-tone-2 {\n background-color: #ffdab7;\n}\n\n.skin-tone-3 {\n background-color: #e7b98f;\n}\n\n.skin-tone-4 {\n background-color: #c88c61;\n}\n\n.skin-tone-5 {\n background-color: #a46134;\n}\n\n.skin-tone-6 {\n background-color: #5d4437;\n}\n\n[data-emoji-set=twitter] .skin-tone:after {\n border-color: rgba(0, 0, 0, 0.5);\n box-shadow: none;\n}\n\n[data-emoji-set=twitter] .skin-tone-1 {\n background-color: #FADE72;\n}\n\n[data-emoji-set=twitter] .skin-tone-2 {\n background-color: #F3DFD0;\n}\n\n[data-emoji-set=twitter] .skin-tone-3 {\n background-color: #EED3A8;\n}\n\n[data-emoji-set=twitter] .skin-tone-4 {\n background-color: #CFAD8D;\n}\n\n[data-emoji-set=twitter] .skin-tone-5 {\n background-color: #A8805D;\n}\n\n[data-emoji-set=twitter] .skin-tone-6 {\n background-color: #765542;\n}\n\n[data-emoji-set=google] .skin-tone:after {\n box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0.4);\n}\n\n[data-emoji-set=google] .skin-tone-1 {\n background-color: #F5C748;\n}\n\n[data-emoji-set=google] .skin-tone-2 {\n background-color: #F1D5AA;\n}\n\n[data-emoji-set=google] .skin-tone-3 {\n background-color: #D4B48D;\n}\n\n[data-emoji-set=google] .skin-tone-4 {\n background-color: #AA876B;\n}\n\n[data-emoji-set=google] .skin-tone-5 {\n background-color: #916544;\n}\n\n[data-emoji-set=google] .skin-tone-6 {\n background-color: #61493F;\n}\n\n[data-emoji-set=facebook] .skin-tone:after {\n border-color: rgba(0, 0, 0, 0.4);\n box-shadow: inset 0 -2px 3px #000, inset 0 1px 4px #fff;\n}\n\n[data-emoji-set=facebook] .skin-tone-1 {\n background-color: #F5C748;\n}\n\n[data-emoji-set=facebook] .skin-tone-2 {\n background-color: #F1D5AA;\n}\n\n[data-emoji-set=facebook] .skin-tone-3 {\n background-color: #D4B48D;\n}\n\n[data-emoji-set=facebook] .skin-tone-4 {\n background-color: #AA876B;\n}\n\n[data-emoji-set=facebook] .skin-tone-5 {\n background-color: #916544;\n}\n\n[data-emoji-set=facebook] .skin-tone-6 {\n background-color: #61493F;\n}\n";
|
|
84150
84150
|
|
|
84151
|
-
function cov_226kerpgip() {
|
|
84152
|
-
var path = "/home/runner/work/neeto-editor/neeto-editor/src/apis/axios.js";
|
|
84153
|
-
var hash = "dd4f83503d27500d73b349e899f9b0b82acc5a63";
|
|
84154
|
-
var global = new Function("return this")();
|
|
84155
|
-
var gcv = "__coverage__";
|
|
84156
|
-
var coverageData = {
|
|
84157
|
-
path: "/home/runner/work/neeto-editor/neeto-editor/src/apis/axios.js",
|
|
84158
|
-
statementMap: {
|
|
84159
|
-
"0": {
|
|
84160
|
-
start: {
|
|
84161
|
-
line: 3,
|
|
84162
|
-
column: 28
|
|
84163
|
-
},
|
|
84164
|
-
end: {
|
|
84165
|
-
line: 8,
|
|
84166
|
-
column: 2
|
|
84167
|
-
}
|
|
84168
|
-
},
|
|
84169
|
-
"1": {
|
|
84170
|
-
start: {
|
|
84171
|
-
line: 10,
|
|
84172
|
-
column: 0
|
|
84173
|
-
},
|
|
84174
|
-
end: {
|
|
84175
|
-
line: 13,
|
|
84176
|
-
column: 2
|
|
84177
|
-
}
|
|
84178
|
-
},
|
|
84179
|
-
"2": {
|
|
84180
|
-
start: {
|
|
84181
|
-
line: 11,
|
|
84182
|
-
column: 14
|
|
84183
|
-
},
|
|
84184
|
-
end: {
|
|
84185
|
-
line: 11,
|
|
84186
|
-
column: 44
|
|
84187
|
-
}
|
|
84188
|
-
},
|
|
84189
|
-
"3": {
|
|
84190
|
-
start: {
|
|
84191
|
-
line: 12,
|
|
84192
|
-
column: 11
|
|
84193
|
-
},
|
|
84194
|
-
end: {
|
|
84195
|
-
line: 12,
|
|
84196
|
-
column: 32
|
|
84197
|
-
}
|
|
84198
|
-
},
|
|
84199
|
-
"4": {
|
|
84200
|
-
start: {
|
|
84201
|
-
line: 15,
|
|
84202
|
-
column: 29
|
|
84203
|
-
},
|
|
84204
|
-
end: {
|
|
84205
|
-
line: 19,
|
|
84206
|
-
column: 1
|
|
84207
|
-
}
|
|
84208
|
-
},
|
|
84209
|
-
"5": {
|
|
84210
|
-
start: {
|
|
84211
|
-
line: 16,
|
|
84212
|
-
column: 48
|
|
84213
|
-
},
|
|
84214
|
-
end: {
|
|
84215
|
-
line: 16,
|
|
84216
|
-
column: 63
|
|
84217
|
-
}
|
|
84218
|
-
},
|
|
84219
|
-
"6": {
|
|
84220
|
-
start: {
|
|
84221
|
-
line: 18,
|
|
84222
|
-
column: 2
|
|
84223
|
-
},
|
|
84224
|
-
end: {
|
|
84225
|
-
line: 18,
|
|
84226
|
-
column: 62
|
|
84227
|
-
}
|
|
84228
|
-
}
|
|
84229
|
-
},
|
|
84230
|
-
fnMap: {
|
|
84231
|
-
"0": {
|
|
84232
|
-
name: "(anonymous_0)",
|
|
84233
|
-
decl: {
|
|
84234
|
-
start: {
|
|
84235
|
-
line: 11,
|
|
84236
|
-
column: 2
|
|
84237
|
-
},
|
|
84238
|
-
end: {
|
|
84239
|
-
line: 11,
|
|
84240
|
-
column: 3
|
|
84241
|
-
}
|
|
84242
|
-
},
|
|
84243
|
-
loc: {
|
|
84244
|
-
start: {
|
|
84245
|
-
line: 11,
|
|
84246
|
-
column: 14
|
|
84247
|
-
},
|
|
84248
|
-
end: {
|
|
84249
|
-
line: 11,
|
|
84250
|
-
column: 44
|
|
84251
|
-
}
|
|
84252
|
-
},
|
|
84253
|
-
line: 11
|
|
84254
|
-
},
|
|
84255
|
-
"1": {
|
|
84256
|
-
name: "(anonymous_1)",
|
|
84257
|
-
decl: {
|
|
84258
|
-
start: {
|
|
84259
|
-
line: 12,
|
|
84260
|
-
column: 2
|
|
84261
|
-
},
|
|
84262
|
-
end: {
|
|
84263
|
-
line: 12,
|
|
84264
|
-
column: 3
|
|
84265
|
-
}
|
|
84266
|
-
},
|
|
84267
|
-
loc: {
|
|
84268
|
-
start: {
|
|
84269
|
-
line: 12,
|
|
84270
|
-
column: 11
|
|
84271
|
-
},
|
|
84272
|
-
end: {
|
|
84273
|
-
line: 12,
|
|
84274
|
-
column: 32
|
|
84275
|
-
}
|
|
84276
|
-
},
|
|
84277
|
-
line: 12
|
|
84278
|
-
},
|
|
84279
|
-
"2": {
|
|
84280
|
-
name: "(anonymous_2)",
|
|
84281
|
-
decl: {
|
|
84282
|
-
start: {
|
|
84283
|
-
line: 15,
|
|
84284
|
-
column: 29
|
|
84285
|
-
},
|
|
84286
|
-
end: {
|
|
84287
|
-
line: 15,
|
|
84288
|
-
column: 30
|
|
84289
|
-
}
|
|
84290
|
-
},
|
|
84291
|
-
loc: {
|
|
84292
|
-
start: {
|
|
84293
|
-
line: 15,
|
|
84294
|
-
column: 41
|
|
84295
|
-
},
|
|
84296
|
-
end: {
|
|
84297
|
-
line: 19,
|
|
84298
|
-
column: 1
|
|
84299
|
-
}
|
|
84300
|
-
},
|
|
84301
|
-
line: 15
|
|
84302
|
-
}
|
|
84303
|
-
},
|
|
84304
|
-
branchMap: {
|
|
84305
|
-
"0": {
|
|
84306
|
-
loc: {
|
|
84307
|
-
start: {
|
|
84308
|
-
line: 16,
|
|
84309
|
-
column: 10
|
|
84310
|
-
},
|
|
84311
|
-
end: {
|
|
84312
|
-
line: 16,
|
|
84313
|
-
column: 43
|
|
84314
|
-
}
|
|
84315
|
-
},
|
|
84316
|
-
type: "default-arg",
|
|
84317
|
-
locations: [{
|
|
84318
|
-
start: {
|
|
84319
|
-
line: 16,
|
|
84320
|
-
column: 38
|
|
84321
|
-
},
|
|
84322
|
-
end: {
|
|
84323
|
-
line: 16,
|
|
84324
|
-
column: 43
|
|
84325
|
-
}
|
|
84326
|
-
}],
|
|
84327
|
-
line: 16
|
|
84328
|
-
},
|
|
84329
|
-
"1": {
|
|
84330
|
-
loc: {
|
|
84331
|
-
start: {
|
|
84332
|
-
line: 18,
|
|
84333
|
-
column: 9
|
|
84334
|
-
},
|
|
84335
|
-
end: {
|
|
84336
|
-
line: 18,
|
|
84337
|
-
column: 61
|
|
84338
|
-
}
|
|
84339
|
-
},
|
|
84340
|
-
type: "cond-expr",
|
|
84341
|
-
locations: [{
|
|
84342
|
-
start: {
|
|
84343
|
-
line: 18,
|
|
84344
|
-
column: 37
|
|
84345
|
-
},
|
|
84346
|
-
end: {
|
|
84347
|
-
line: 18,
|
|
84348
|
-
column: 45
|
|
84349
|
-
}
|
|
84350
|
-
}, {
|
|
84351
|
-
start: {
|
|
84352
|
-
line: 18,
|
|
84353
|
-
column: 48
|
|
84354
|
-
},
|
|
84355
|
-
end: {
|
|
84356
|
-
line: 18,
|
|
84357
|
-
column: 61
|
|
84358
|
-
}
|
|
84359
|
-
}],
|
|
84360
|
-
line: 18
|
|
84361
|
-
}
|
|
84362
|
-
},
|
|
84363
|
-
s: {
|
|
84364
|
-
"0": 0,
|
|
84365
|
-
"1": 0,
|
|
84366
|
-
"2": 0,
|
|
84367
|
-
"3": 0,
|
|
84368
|
-
"4": 0,
|
|
84369
|
-
"5": 0,
|
|
84370
|
-
"6": 0
|
|
84371
|
-
},
|
|
84372
|
-
f: {
|
|
84373
|
-
"0": 0,
|
|
84374
|
-
"1": 0,
|
|
84375
|
-
"2": 0
|
|
84376
|
-
},
|
|
84377
|
-
b: {
|
|
84378
|
-
"0": [0],
|
|
84379
|
-
"1": [0, 0]
|
|
84380
|
-
},
|
|
84381
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
84382
|
-
hash: "dd4f83503d27500d73b349e899f9b0b82acc5a63"
|
|
84383
|
-
};
|
|
84384
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
84385
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
84386
|
-
coverage[path] = coverageData;
|
|
84387
|
-
}
|
|
84388
|
-
var actualCoverage = coverage[path];
|
|
84389
|
-
{
|
|
84390
|
-
// @ts-ignore
|
|
84391
|
-
cov_226kerpgip = function () {
|
|
84392
|
-
return actualCoverage;
|
|
84393
|
-
};
|
|
84394
|
-
}
|
|
84395
|
-
return actualCoverage;
|
|
84396
|
-
}
|
|
84397
|
-
cov_226kerpgip();
|
|
84398
|
-
var axiosEditorInstance = (cov_226kerpgip().s[0]++, axios__default["default"].create({
|
|
84399
|
-
headers: {
|
|
84400
|
-
"Content-Type": "application/json",
|
|
84401
|
-
Accept: "application/json"
|
|
84402
|
-
}
|
|
84403
|
-
}));
|
|
84404
|
-
cov_226kerpgip().s[1]++;
|
|
84405
|
-
axiosEditorInstance.interceptors.response.use(function (response) {
|
|
84406
|
-
cov_226kerpgip().f[0]++;
|
|
84407
|
-
cov_226kerpgip().s[2]++;
|
|
84408
|
-
return pullDataFromResponse(response);
|
|
84409
|
-
}, function (error) {
|
|
84410
|
-
cov_226kerpgip().f[1]++;
|
|
84411
|
-
cov_226kerpgip().s[3]++;
|
|
84412
|
-
return Promise.reject(error);
|
|
84413
|
-
});
|
|
84414
|
-
cov_226kerpgip().s[4]++;
|
|
84415
|
-
var pullDataFromResponse = function pullDataFromResponse(response) {
|
|
84416
|
-
cov_226kerpgip().f[2]++;
|
|
84417
|
-
var _ref = (cov_226kerpgip().s[5]++, response.config),
|
|
84418
|
-
_ref$includeMetadataI = _ref.includeMetadataInResponse,
|
|
84419
|
-
includeMetadataInResponse = _ref$includeMetadataI === void 0 ? (cov_226kerpgip().b[0][0]++, false) : _ref$includeMetadataI;
|
|
84420
|
-
cov_226kerpgip().s[6]++;
|
|
84421
|
-
return includeMetadataInResponse ? (cov_226kerpgip().b[1][0]++, response) : (cov_226kerpgip().b[1][1]++, response.data);
|
|
84422
|
-
};
|
|
84423
|
-
|
|
84424
84151
|
function cov_1zmyuy8mgp() {
|
|
84425
84152
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/apis/emoji_picker.js";
|
|
84426
|
-
var hash = "
|
|
84153
|
+
var hash = "3ff6dd958828d335dd9a111c3afc23b86044f3fd";
|
|
84427
84154
|
var global = new Function("return this")();
|
|
84428
84155
|
var gcv = "__coverage__";
|
|
84429
84156
|
var coverageData = {
|
|
@@ -84435,27 +84162,27 @@ function cov_1zmyuy8mgp() {
|
|
|
84435
84162
|
column: 14
|
|
84436
84163
|
},
|
|
84437
84164
|
end: {
|
|
84438
|
-
line:
|
|
84439
|
-
column:
|
|
84165
|
+
line: 3,
|
|
84166
|
+
column: 78
|
|
84440
84167
|
}
|
|
84441
84168
|
},
|
|
84442
84169
|
"1": {
|
|
84443
84170
|
start: {
|
|
84444
|
-
line:
|
|
84445
|
-
column:
|
|
84171
|
+
line: 3,
|
|
84172
|
+
column: 20
|
|
84446
84173
|
},
|
|
84447
84174
|
end: {
|
|
84448
|
-
line:
|
|
84449
|
-
column:
|
|
84175
|
+
line: 3,
|
|
84176
|
+
column: 78
|
|
84450
84177
|
}
|
|
84451
84178
|
},
|
|
84452
84179
|
"2": {
|
|
84453
84180
|
start: {
|
|
84454
|
-
line:
|
|
84181
|
+
line: 5,
|
|
84455
84182
|
column: 23
|
|
84456
84183
|
},
|
|
84457
84184
|
end: {
|
|
84458
|
-
line:
|
|
84185
|
+
line: 5,
|
|
84459
84186
|
column: 32
|
|
84460
84187
|
}
|
|
84461
84188
|
}
|
|
@@ -84475,15 +84202,15 @@ function cov_1zmyuy8mgp() {
|
|
|
84475
84202
|
},
|
|
84476
84203
|
loc: {
|
|
84477
84204
|
start: {
|
|
84478
|
-
line:
|
|
84479
|
-
column:
|
|
84205
|
+
line: 3,
|
|
84206
|
+
column: 20
|
|
84480
84207
|
},
|
|
84481
84208
|
end: {
|
|
84482
|
-
line:
|
|
84483
|
-
column:
|
|
84209
|
+
line: 3,
|
|
84210
|
+
column: 78
|
|
84484
84211
|
}
|
|
84485
84212
|
},
|
|
84486
|
-
line:
|
|
84213
|
+
line: 3
|
|
84487
84214
|
}
|
|
84488
84215
|
},
|
|
84489
84216
|
branchMap: {},
|
|
@@ -84497,7 +84224,7 @@ function cov_1zmyuy8mgp() {
|
|
|
84497
84224
|
},
|
|
84498
84225
|
b: {},
|
|
84499
84226
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
84500
|
-
hash: "
|
|
84227
|
+
hash: "3ff6dd958828d335dd9a111c3afc23b86044f3fd"
|
|
84501
84228
|
};
|
|
84502
84229
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
84503
84230
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -84517,7 +84244,7 @@ cov_1zmyuy8mgp().s[0]++;
|
|
|
84517
84244
|
var fetch$1 = function fetch() {
|
|
84518
84245
|
cov_1zmyuy8mgp().f[0]++;
|
|
84519
84246
|
cov_1zmyuy8mgp().s[1]++;
|
|
84520
|
-
return
|
|
84247
|
+
return axios__default["default"].get("https://cdn.jsdelivr.net/npm/@emoji-mart/data");
|
|
84521
84248
|
};
|
|
84522
84249
|
var emojiPickerApi = (cov_1zmyuy8mgp().s[2]++, {
|
|
84523
84250
|
fetch: fetch$1
|
|
@@ -112088,7 +111815,7 @@ var searchUnsplashImages = function searchUnsplashImages(_ref) {
|
|
|
112088
111815
|
apiKey = _ref.apiKey;
|
|
112089
111816
|
cov_38kboi50e().f[0]++;
|
|
112090
111817
|
cov_38kboi50e().s[1]++;
|
|
112091
|
-
return
|
|
111818
|
+
return axios__default["default"].get(UNSPLASH_BASE_URL, {
|
|
112092
111819
|
headers: {
|
|
112093
111820
|
Authorization: "Client-ID ".concat(apiKey)
|
|
112094
111821
|
},
|
|
@@ -112379,7 +112106,7 @@ var useDebounce = function useDebounce(value) {
|
|
|
112379
112106
|
|
|
112380
112107
|
function cov_2d0jax9c7z() {
|
|
112381
112108
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/UnsplashImagePicker.jsx";
|
|
112382
|
-
var hash = "
|
|
112109
|
+
var hash = "2f3b5248e854f26589712f714deeef8357b6edaa";
|
|
112383
112110
|
var global = new Function("return this")();
|
|
112384
112111
|
var gcv = "__coverage__";
|
|
112385
112112
|
var coverageData = {
|
|
@@ -112391,7 +112118,7 @@ function cov_2d0jax9c7z() {
|
|
|
112391
112118
|
column: 28
|
|
112392
112119
|
},
|
|
112393
112120
|
end: {
|
|
112394
|
-
line:
|
|
112121
|
+
line: 156,
|
|
112395
112122
|
column: 1
|
|
112396
112123
|
}
|
|
112397
112124
|
},
|
|
@@ -112511,7 +112238,7 @@ function cov_2d0jax9c7z() {
|
|
|
112511
112238
|
column: 30
|
|
112512
112239
|
},
|
|
112513
112240
|
end: {
|
|
112514
|
-
line:
|
|
112241
|
+
line: 53,
|
|
112515
112242
|
column: 3
|
|
112516
112243
|
}
|
|
112517
112244
|
},
|
|
@@ -112521,7 +112248,7 @@ function cov_2d0jax9c7z() {
|
|
|
112521
112248
|
column: 4
|
|
112522
112249
|
},
|
|
112523
112250
|
end: {
|
|
112524
|
-
line:
|
|
112251
|
+
line: 52,
|
|
112525
112252
|
column: 5
|
|
112526
112253
|
}
|
|
112527
112254
|
},
|
|
@@ -112548,7 +112275,7 @@ function cov_2d0jax9c7z() {
|
|
|
112548
112275
|
"16": {
|
|
112549
112276
|
start: {
|
|
112550
112277
|
line: 33,
|
|
112551
|
-
column:
|
|
112278
|
+
column: 23
|
|
112552
112279
|
},
|
|
112553
112280
|
end: {
|
|
112554
112281
|
line: 37,
|
|
@@ -112557,42 +112284,42 @@ function cov_2d0jax9c7z() {
|
|
|
112557
112284
|
},
|
|
112558
112285
|
"17": {
|
|
112559
112286
|
start: {
|
|
112560
|
-
line:
|
|
112561
|
-
column:
|
|
112287
|
+
line: 38,
|
|
112288
|
+
column: 39
|
|
112562
112289
|
},
|
|
112563
112290
|
end: {
|
|
112564
|
-
line:
|
|
112565
|
-
column:
|
|
112291
|
+
line: 38,
|
|
112292
|
+
column: 64
|
|
112566
112293
|
}
|
|
112567
112294
|
},
|
|
112568
112295
|
"18": {
|
|
112569
112296
|
start: {
|
|
112570
112297
|
line: 40,
|
|
112571
|
-
column:
|
|
112298
|
+
column: 6
|
|
112572
112299
|
},
|
|
112573
112300
|
end: {
|
|
112574
|
-
line:
|
|
112575
|
-
column:
|
|
112301
|
+
line: 44,
|
|
112302
|
+
column: 7
|
|
112576
112303
|
}
|
|
112577
112304
|
},
|
|
112578
112305
|
"19": {
|
|
112579
112306
|
start: {
|
|
112580
|
-
line:
|
|
112307
|
+
line: 41,
|
|
112581
112308
|
column: 8
|
|
112582
112309
|
},
|
|
112583
112310
|
end: {
|
|
112584
|
-
line:
|
|
112585
|
-
column:
|
|
112311
|
+
line: 41,
|
|
112312
|
+
column: 27
|
|
112586
112313
|
}
|
|
112587
112314
|
},
|
|
112588
112315
|
"20": {
|
|
112589
112316
|
start: {
|
|
112590
|
-
line:
|
|
112591
|
-
column:
|
|
112317
|
+
line: 43,
|
|
112318
|
+
column: 8
|
|
112592
112319
|
},
|
|
112593
112320
|
end: {
|
|
112594
|
-
line:
|
|
112595
|
-
column:
|
|
112321
|
+
line: 43,
|
|
112322
|
+
column: 43
|
|
112596
112323
|
}
|
|
112597
112324
|
},
|
|
112598
112325
|
"21": {
|
|
@@ -112602,116 +112329,126 @@ function cov_2d0jax9c7z() {
|
|
|
112602
112329
|
},
|
|
112603
112330
|
end: {
|
|
112604
112331
|
line: 46,
|
|
112605
|
-
column:
|
|
112332
|
+
column: 26
|
|
112606
112333
|
}
|
|
112607
112334
|
},
|
|
112608
112335
|
"22": {
|
|
112609
112336
|
start: {
|
|
112610
|
-
line:
|
|
112337
|
+
line: 47,
|
|
112611
112338
|
column: 6
|
|
112612
112339
|
},
|
|
112613
112340
|
end: {
|
|
112614
|
-
line:
|
|
112615
|
-
column:
|
|
112341
|
+
line: 47,
|
|
112342
|
+
column: 37
|
|
112616
112343
|
}
|
|
112617
112344
|
},
|
|
112618
112345
|
"23": {
|
|
112619
112346
|
start: {
|
|
112620
|
-
line:
|
|
112347
|
+
line: 49,
|
|
112621
112348
|
column: 6
|
|
112622
112349
|
},
|
|
112623
112350
|
end: {
|
|
112624
|
-
line:
|
|
112625
|
-
column:
|
|
112351
|
+
line: 49,
|
|
112352
|
+
column: 21
|
|
112626
112353
|
}
|
|
112627
112354
|
},
|
|
112628
112355
|
"24": {
|
|
112629
112356
|
start: {
|
|
112630
|
-
line:
|
|
112631
|
-
column:
|
|
112357
|
+
line: 51,
|
|
112358
|
+
column: 6
|
|
112632
112359
|
},
|
|
112633
112360
|
end: {
|
|
112634
|
-
line:
|
|
112635
|
-
column:
|
|
112361
|
+
line: 51,
|
|
112362
|
+
column: 24
|
|
112636
112363
|
}
|
|
112637
112364
|
},
|
|
112638
112365
|
"25": {
|
|
112639
112366
|
start: {
|
|
112640
112367
|
line: 55,
|
|
112368
|
+
column: 19
|
|
112369
|
+
},
|
|
112370
|
+
end: {
|
|
112371
|
+
line: 59,
|
|
112372
|
+
column: 3
|
|
112373
|
+
}
|
|
112374
|
+
},
|
|
112375
|
+
"26": {
|
|
112376
|
+
start: {
|
|
112377
|
+
line: 56,
|
|
112641
112378
|
column: 4
|
|
112642
112379
|
},
|
|
112643
112380
|
end: {
|
|
112644
|
-
line:
|
|
112381
|
+
line: 56,
|
|
112645
112382
|
column: 36
|
|
112646
112383
|
}
|
|
112647
112384
|
},
|
|
112648
|
-
"
|
|
112385
|
+
"27": {
|
|
112649
112386
|
start: {
|
|
112650
|
-
line:
|
|
112387
|
+
line: 56,
|
|
112651
112388
|
column: 29
|
|
112652
112389
|
},
|
|
112653
112390
|
end: {
|
|
112654
|
-
line:
|
|
112391
|
+
line: 56,
|
|
112655
112392
|
column: 36
|
|
112656
112393
|
}
|
|
112657
112394
|
},
|
|
112658
|
-
"
|
|
112395
|
+
"28": {
|
|
112659
112396
|
start: {
|
|
112660
|
-
line:
|
|
112397
|
+
line: 58,
|
|
112661
112398
|
column: 4
|
|
112662
112399
|
},
|
|
112663
112400
|
end: {
|
|
112664
|
-
line:
|
|
112401
|
+
line: 58,
|
|
112665
112402
|
column: 46
|
|
112666
112403
|
}
|
|
112667
112404
|
},
|
|
112668
|
-
"
|
|
112405
|
+
"29": {
|
|
112669
112406
|
start: {
|
|
112670
|
-
line:
|
|
112407
|
+
line: 62,
|
|
112671
112408
|
column: 4
|
|
112672
112409
|
},
|
|
112673
112410
|
end: {
|
|
112674
|
-
line:
|
|
112411
|
+
line: 64,
|
|
112675
112412
|
column: 10
|
|
112676
112413
|
}
|
|
112677
112414
|
},
|
|
112678
|
-
"
|
|
112415
|
+
"30": {
|
|
112679
112416
|
start: {
|
|
112680
|
-
line:
|
|
112417
|
+
line: 67,
|
|
112681
112418
|
column: 2
|
|
112682
112419
|
},
|
|
112683
112420
|
end: {
|
|
112684
|
-
line:
|
|
112421
|
+
line: 155,
|
|
112685
112422
|
column: 4
|
|
112686
112423
|
}
|
|
112687
112424
|
},
|
|
112688
|
-
"
|
|
112425
|
+
"31": {
|
|
112689
112426
|
start: {
|
|
112690
|
-
line:
|
|
112427
|
+
line: 77,
|
|
112691
112428
|
column: 10
|
|
112692
112429
|
},
|
|
112693
112430
|
end: {
|
|
112694
|
-
line:
|
|
112431
|
+
line: 77,
|
|
112695
112432
|
column: 26
|
|
112696
112433
|
}
|
|
112697
112434
|
},
|
|
112698
|
-
"
|
|
112435
|
+
"32": {
|
|
112699
112436
|
start: {
|
|
112700
|
-
line:
|
|
112437
|
+
line: 116,
|
|
112701
112438
|
column: 16
|
|
112702
112439
|
},
|
|
112703
112440
|
end: {
|
|
112704
|
-
line:
|
|
112441
|
+
line: 144,
|
|
112705
112442
|
column: 22
|
|
112706
112443
|
}
|
|
112707
112444
|
},
|
|
112708
|
-
"
|
|
112445
|
+
"33": {
|
|
112709
112446
|
start: {
|
|
112710
|
-
line:
|
|
112447
|
+
line: 133,
|
|
112711
112448
|
column: 39
|
|
112712
112449
|
},
|
|
112713
112450
|
end: {
|
|
112714
|
-
line:
|
|
112451
|
+
line: 133,
|
|
112715
112452
|
column: 65
|
|
112716
112453
|
}
|
|
112717
112454
|
}
|
|
@@ -112735,7 +112472,7 @@ function cov_2d0jax9c7z() {
|
|
|
112735
112472
|
column: 62
|
|
112736
112473
|
},
|
|
112737
112474
|
end: {
|
|
112738
|
-
line:
|
|
112475
|
+
line: 156,
|
|
112739
112476
|
column: 1
|
|
112740
112477
|
}
|
|
112741
112478
|
},
|
|
@@ -112783,7 +112520,7 @@ function cov_2d0jax9c7z() {
|
|
|
112783
112520
|
column: 44
|
|
112784
112521
|
},
|
|
112785
112522
|
end: {
|
|
112786
|
-
line:
|
|
112523
|
+
line: 53,
|
|
112787
112524
|
column: 3
|
|
112788
112525
|
}
|
|
112789
112526
|
},
|
|
@@ -112793,97 +112530,97 @@ function cov_2d0jax9c7z() {
|
|
|
112793
112530
|
name: "(anonymous_3)",
|
|
112794
112531
|
decl: {
|
|
112795
112532
|
start: {
|
|
112796
|
-
line:
|
|
112533
|
+
line: 55,
|
|
112797
112534
|
column: 19
|
|
112798
112535
|
},
|
|
112799
112536
|
end: {
|
|
112800
|
-
line:
|
|
112537
|
+
line: 55,
|
|
112801
112538
|
column: 20
|
|
112802
112539
|
}
|
|
112803
112540
|
},
|
|
112804
112541
|
loc: {
|
|
112805
112542
|
start: {
|
|
112806
|
-
line:
|
|
112543
|
+
line: 55,
|
|
112807
112544
|
column: 25
|
|
112808
112545
|
},
|
|
112809
112546
|
end: {
|
|
112810
|
-
line:
|
|
112547
|
+
line: 59,
|
|
112811
112548
|
column: 3
|
|
112812
112549
|
}
|
|
112813
112550
|
},
|
|
112814
|
-
line:
|
|
112551
|
+
line: 55
|
|
112815
112552
|
},
|
|
112816
112553
|
"4": {
|
|
112817
112554
|
name: "(anonymous_4)",
|
|
112818
112555
|
decl: {
|
|
112819
112556
|
start: {
|
|
112820
|
-
line:
|
|
112557
|
+
line: 76,
|
|
112821
112558
|
column: 18
|
|
112822
112559
|
},
|
|
112823
112560
|
end: {
|
|
112824
|
-
line:
|
|
112561
|
+
line: 76,
|
|
112825
112562
|
column: 19
|
|
112826
112563
|
}
|
|
112827
112564
|
},
|
|
112828
112565
|
loc: {
|
|
112829
112566
|
start: {
|
|
112830
|
-
line:
|
|
112567
|
+
line: 76,
|
|
112831
112568
|
column: 45
|
|
112832
112569
|
},
|
|
112833
112570
|
end: {
|
|
112834
|
-
line:
|
|
112571
|
+
line: 78,
|
|
112835
112572
|
column: 9
|
|
112836
112573
|
}
|
|
112837
112574
|
},
|
|
112838
|
-
line:
|
|
112575
|
+
line: 76
|
|
112839
112576
|
},
|
|
112840
112577
|
"5": {
|
|
112841
112578
|
name: "(anonymous_5)",
|
|
112842
112579
|
decl: {
|
|
112843
112580
|
start: {
|
|
112844
|
-
line:
|
|
112581
|
+
line: 115,
|
|
112845
112582
|
column: 25
|
|
112846
112583
|
},
|
|
112847
112584
|
end: {
|
|
112848
|
-
line:
|
|
112585
|
+
line: 115,
|
|
112849
112586
|
column: 26
|
|
112850
112587
|
}
|
|
112851
112588
|
},
|
|
112852
112589
|
loc: {
|
|
112853
112590
|
start: {
|
|
112854
|
-
line:
|
|
112591
|
+
line: 116,
|
|
112855
112592
|
column: 16
|
|
112856
112593
|
},
|
|
112857
112594
|
end: {
|
|
112858
|
-
line:
|
|
112595
|
+
line: 144,
|
|
112859
112596
|
column: 22
|
|
112860
112597
|
}
|
|
112861
112598
|
},
|
|
112862
|
-
line:
|
|
112599
|
+
line: 116
|
|
112863
112600
|
},
|
|
112864
112601
|
"6": {
|
|
112865
112602
|
name: "(anonymous_6)",
|
|
112866
112603
|
decl: {
|
|
112867
112604
|
start: {
|
|
112868
|
-
line:
|
|
112605
|
+
line: 133,
|
|
112869
112606
|
column: 33
|
|
112870
112607
|
},
|
|
112871
112608
|
end: {
|
|
112872
|
-
line:
|
|
112609
|
+
line: 133,
|
|
112873
112610
|
column: 34
|
|
112874
112611
|
}
|
|
112875
112612
|
},
|
|
112876
112613
|
loc: {
|
|
112877
112614
|
start: {
|
|
112878
|
-
line:
|
|
112615
|
+
line: 133,
|
|
112879
112616
|
column: 39
|
|
112880
112617
|
},
|
|
112881
112618
|
end: {
|
|
112882
|
-
line:
|
|
112619
|
+
line: 133,
|
|
112883
112620
|
column: 65
|
|
112884
112621
|
}
|
|
112885
112622
|
},
|
|
112886
|
-
line:
|
|
112623
|
+
line: 133
|
|
112887
112624
|
}
|
|
112888
112625
|
},
|
|
112889
112626
|
branchMap: {
|
|
@@ -112923,55 +112660,88 @@ function cov_2d0jax9c7z() {
|
|
|
112923
112660
|
"1": {
|
|
112924
112661
|
loc: {
|
|
112925
112662
|
start: {
|
|
112926
|
-
line:
|
|
112663
|
+
line: 38,
|
|
112664
|
+
column: 39
|
|
112665
|
+
},
|
|
112666
|
+
end: {
|
|
112667
|
+
line: 38,
|
|
112668
|
+
column: 64
|
|
112669
|
+
}
|
|
112670
|
+
},
|
|
112671
|
+
type: "binary-expr",
|
|
112672
|
+
locations: [{
|
|
112673
|
+
start: {
|
|
112674
|
+
line: 38,
|
|
112675
|
+
column: 39
|
|
112676
|
+
},
|
|
112677
|
+
end: {
|
|
112678
|
+
line: 38,
|
|
112679
|
+
column: 52
|
|
112680
|
+
}
|
|
112681
|
+
}, {
|
|
112682
|
+
start: {
|
|
112683
|
+
line: 38,
|
|
112684
|
+
column: 56
|
|
112685
|
+
},
|
|
112686
|
+
end: {
|
|
112687
|
+
line: 38,
|
|
112688
|
+
column: 64
|
|
112689
|
+
}
|
|
112690
|
+
}],
|
|
112691
|
+
line: 38
|
|
112692
|
+
},
|
|
112693
|
+
"2": {
|
|
112694
|
+
loc: {
|
|
112695
|
+
start: {
|
|
112696
|
+
line: 40,
|
|
112927
112697
|
column: 6
|
|
112928
112698
|
},
|
|
112929
112699
|
end: {
|
|
112930
|
-
line:
|
|
112700
|
+
line: 44,
|
|
112931
112701
|
column: 7
|
|
112932
112702
|
}
|
|
112933
112703
|
},
|
|
112934
112704
|
type: "if",
|
|
112935
112705
|
locations: [{
|
|
112936
112706
|
start: {
|
|
112937
|
-
line:
|
|
112707
|
+
line: 40,
|
|
112938
112708
|
column: 6
|
|
112939
112709
|
},
|
|
112940
112710
|
end: {
|
|
112941
|
-
line:
|
|
112711
|
+
line: 44,
|
|
112942
112712
|
column: 7
|
|
112943
112713
|
}
|
|
112944
112714
|
}, {
|
|
112945
112715
|
start: {
|
|
112946
|
-
line:
|
|
112716
|
+
line: 42,
|
|
112947
112717
|
column: 13
|
|
112948
112718
|
},
|
|
112949
112719
|
end: {
|
|
112950
|
-
line:
|
|
112720
|
+
line: 44,
|
|
112951
112721
|
column: 7
|
|
112952
112722
|
}
|
|
112953
112723
|
}],
|
|
112954
|
-
line:
|
|
112724
|
+
line: 40
|
|
112955
112725
|
},
|
|
112956
|
-
"
|
|
112726
|
+
"3": {
|
|
112957
112727
|
loc: {
|
|
112958
112728
|
start: {
|
|
112959
|
-
line:
|
|
112729
|
+
line: 56,
|
|
112960
112730
|
column: 4
|
|
112961
112731
|
},
|
|
112962
112732
|
end: {
|
|
112963
|
-
line:
|
|
112733
|
+
line: 56,
|
|
112964
112734
|
column: 36
|
|
112965
112735
|
}
|
|
112966
112736
|
},
|
|
112967
112737
|
type: "if",
|
|
112968
112738
|
locations: [{
|
|
112969
112739
|
start: {
|
|
112970
|
-
line:
|
|
112740
|
+
line: 56,
|
|
112971
112741
|
column: 4
|
|
112972
112742
|
},
|
|
112973
112743
|
end: {
|
|
112974
|
-
line:
|
|
112744
|
+
line: 56,
|
|
112975
112745
|
column: 36
|
|
112976
112746
|
}
|
|
112977
112747
|
}, {
|
|
@@ -112984,256 +112754,256 @@ function cov_2d0jax9c7z() {
|
|
|
112984
112754
|
column: undefined
|
|
112985
112755
|
}
|
|
112986
112756
|
}],
|
|
112987
|
-
line:
|
|
112757
|
+
line: 56
|
|
112988
112758
|
},
|
|
112989
|
-
"
|
|
112759
|
+
"4": {
|
|
112990
112760
|
loc: {
|
|
112991
112761
|
start: {
|
|
112992
|
-
line:
|
|
112762
|
+
line: 56,
|
|
112993
112763
|
column: 8
|
|
112994
112764
|
},
|
|
112995
112765
|
end: {
|
|
112996
|
-
line:
|
|
112766
|
+
line: 56,
|
|
112997
112767
|
column: 27
|
|
112998
112768
|
}
|
|
112999
112769
|
},
|
|
113000
112770
|
type: "binary-expr",
|
|
113001
112771
|
locations: [{
|
|
113002
112772
|
start: {
|
|
113003
|
-
line:
|
|
112773
|
+
line: 56,
|
|
113004
112774
|
column: 8
|
|
113005
112775
|
},
|
|
113006
112776
|
end: {
|
|
113007
|
-
line:
|
|
112777
|
+
line: 56,
|
|
113008
112778
|
column: 15
|
|
113009
112779
|
}
|
|
113010
112780
|
}, {
|
|
113011
112781
|
start: {
|
|
113012
|
-
line:
|
|
112782
|
+
line: 56,
|
|
113013
112783
|
column: 19
|
|
113014
112784
|
},
|
|
113015
112785
|
end: {
|
|
113016
|
-
line:
|
|
112786
|
+
line: 56,
|
|
113017
112787
|
column: 27
|
|
113018
112788
|
}
|
|
113019
112789
|
}],
|
|
113020
|
-
line:
|
|
112790
|
+
line: 56
|
|
113021
112791
|
},
|
|
113022
|
-
"
|
|
112792
|
+
"5": {
|
|
113023
112793
|
loc: {
|
|
113024
112794
|
start: {
|
|
113025
|
-
line:
|
|
112795
|
+
line: 58,
|
|
113026
112796
|
column: 4
|
|
113027
112797
|
},
|
|
113028
112798
|
end: {
|
|
113029
|
-
line:
|
|
112799
|
+
line: 58,
|
|
113030
112800
|
column: 45
|
|
113031
112801
|
}
|
|
113032
112802
|
},
|
|
113033
112803
|
type: "binary-expr",
|
|
113034
112804
|
locations: [{
|
|
113035
112805
|
start: {
|
|
113036
|
-
line:
|
|
112806
|
+
line: 58,
|
|
113037
112807
|
column: 4
|
|
113038
112808
|
},
|
|
113039
112809
|
end: {
|
|
113040
|
-
line:
|
|
112810
|
+
line: 58,
|
|
113041
112811
|
column: 14
|
|
113042
112812
|
}
|
|
113043
112813
|
}, {
|
|
113044
112814
|
start: {
|
|
113045
|
-
line:
|
|
112815
|
+
line: 58,
|
|
113046
112816
|
column: 18
|
|
113047
112817
|
},
|
|
113048
112818
|
end: {
|
|
113049
|
-
line:
|
|
112819
|
+
line: 58,
|
|
113050
112820
|
column: 45
|
|
113051
112821
|
}
|
|
113052
112822
|
}],
|
|
113053
|
-
line:
|
|
112823
|
+
line: 58
|
|
113054
112824
|
},
|
|
113055
|
-
"
|
|
112825
|
+
"6": {
|
|
113056
112826
|
loc: {
|
|
113057
112827
|
start: {
|
|
113058
|
-
line:
|
|
112828
|
+
line: 80,
|
|
113059
112829
|
column: 7
|
|
113060
112830
|
},
|
|
113061
112831
|
end: {
|
|
113062
|
-
line:
|
|
112832
|
+
line: 87,
|
|
113063
112833
|
column: 7
|
|
113064
112834
|
}
|
|
113065
112835
|
},
|
|
113066
112836
|
type: "binary-expr",
|
|
113067
112837
|
locations: [{
|
|
113068
112838
|
start: {
|
|
113069
|
-
line:
|
|
112839
|
+
line: 80,
|
|
113070
112840
|
column: 7
|
|
113071
112841
|
},
|
|
113072
112842
|
end: {
|
|
113073
|
-
line:
|
|
112843
|
+
line: 80,
|
|
113074
112844
|
column: 12
|
|
113075
112845
|
}
|
|
113076
112846
|
}, {
|
|
113077
112847
|
start: {
|
|
113078
|
-
line:
|
|
112848
|
+
line: 81,
|
|
113079
112849
|
column: 8
|
|
113080
112850
|
},
|
|
113081
112851
|
end: {
|
|
113082
|
-
line:
|
|
112852
|
+
line: 86,
|
|
113083
112853
|
column: 12
|
|
113084
112854
|
}
|
|
113085
112855
|
}],
|
|
113086
|
-
line:
|
|
112856
|
+
line: 80
|
|
113087
112857
|
},
|
|
113088
|
-
"
|
|
112858
|
+
"7": {
|
|
113089
112859
|
loc: {
|
|
113090
112860
|
start: {
|
|
113091
|
-
line:
|
|
112861
|
+
line: 88,
|
|
113092
112862
|
column: 7
|
|
113093
112863
|
},
|
|
113094
112864
|
end: {
|
|
113095
|
-
line:
|
|
112865
|
+
line: 95,
|
|
113096
112866
|
column: 7
|
|
113097
112867
|
}
|
|
113098
112868
|
},
|
|
113099
112869
|
type: "binary-expr",
|
|
113100
112870
|
locations: [{
|
|
113101
112871
|
start: {
|
|
113102
|
-
line:
|
|
112872
|
+
line: 88,
|
|
113103
112873
|
column: 7
|
|
113104
112874
|
},
|
|
113105
112875
|
end: {
|
|
113106
|
-
line:
|
|
112876
|
+
line: 88,
|
|
113107
112877
|
column: 13
|
|
113108
112878
|
}
|
|
113109
112879
|
}, {
|
|
113110
112880
|
start: {
|
|
113111
|
-
line:
|
|
112881
|
+
line: 88,
|
|
113112
112882
|
column: 17
|
|
113113
112883
|
},
|
|
113114
112884
|
end: {
|
|
113115
|
-
line:
|
|
112885
|
+
line: 88,
|
|
113116
112886
|
column: 25
|
|
113117
112887
|
}
|
|
113118
112888
|
}, {
|
|
113119
112889
|
start: {
|
|
113120
|
-
line:
|
|
112890
|
+
line: 88,
|
|
113121
112891
|
column: 29
|
|
113122
112892
|
},
|
|
113123
112893
|
end: {
|
|
113124
|
-
line:
|
|
112894
|
+
line: 88,
|
|
113125
112895
|
column: 49
|
|
113126
112896
|
}
|
|
113127
112897
|
}, {
|
|
113128
112898
|
start: {
|
|
113129
|
-
line:
|
|
112899
|
+
line: 89,
|
|
113130
112900
|
column: 8
|
|
113131
112901
|
},
|
|
113132
112902
|
end: {
|
|
113133
|
-
line:
|
|
112903
|
+
line: 94,
|
|
113134
112904
|
column: 12
|
|
113135
112905
|
}
|
|
113136
112906
|
}],
|
|
113137
|
-
line:
|
|
112907
|
+
line: 88
|
|
113138
112908
|
},
|
|
113139
|
-
"
|
|
112909
|
+
"8": {
|
|
113140
112910
|
loc: {
|
|
113141
112911
|
start: {
|
|
113142
|
-
line:
|
|
112912
|
+
line: 96,
|
|
113143
112913
|
column: 7
|
|
113144
112914
|
},
|
|
113145
112915
|
end: {
|
|
113146
|
-
line:
|
|
112916
|
+
line: 153,
|
|
113147
112917
|
column: 7
|
|
113148
112918
|
}
|
|
113149
112919
|
},
|
|
113150
112920
|
type: "binary-expr",
|
|
113151
112921
|
locations: [{
|
|
113152
112922
|
start: {
|
|
113153
|
-
line:
|
|
112923
|
+
line: 96,
|
|
113154
112924
|
column: 7
|
|
113155
112925
|
},
|
|
113156
112926
|
end: {
|
|
113157
|
-
line:
|
|
112927
|
+
line: 96,
|
|
113158
112928
|
column: 13
|
|
113159
112929
|
}
|
|
113160
112930
|
}, {
|
|
113161
112931
|
start: {
|
|
113162
|
-
line:
|
|
112932
|
+
line: 97,
|
|
113163
112933
|
column: 8
|
|
113164
112934
|
},
|
|
113165
112935
|
end: {
|
|
113166
|
-
line:
|
|
112936
|
+
line: 152,
|
|
113167
112937
|
column: 14
|
|
113168
112938
|
}
|
|
113169
112939
|
}],
|
|
113170
|
-
line:
|
|
112940
|
+
line: 96
|
|
113171
112941
|
},
|
|
113172
|
-
"
|
|
112942
|
+
"9": {
|
|
113173
112943
|
loc: {
|
|
113174
112944
|
start: {
|
|
113175
|
-
line:
|
|
112945
|
+
line: 114,
|
|
113176
112946
|
column: 13
|
|
113177
112947
|
},
|
|
113178
112948
|
end: {
|
|
113179
|
-
line:
|
|
112949
|
+
line: 145,
|
|
113180
112950
|
column: 16
|
|
113181
112951
|
}
|
|
113182
112952
|
},
|
|
113183
112953
|
type: "binary-expr",
|
|
113184
112954
|
locations: [{
|
|
113185
112955
|
start: {
|
|
113186
|
-
line:
|
|
112956
|
+
line: 114,
|
|
113187
112957
|
column: 13
|
|
113188
112958
|
},
|
|
113189
112959
|
end: {
|
|
113190
|
-
line:
|
|
112960
|
+
line: 114,
|
|
113191
112961
|
column: 19
|
|
113192
112962
|
}
|
|
113193
112963
|
}, {
|
|
113194
112964
|
start: {
|
|
113195
|
-
line:
|
|
112965
|
+
line: 115,
|
|
113196
112966
|
column: 14
|
|
113197
112967
|
},
|
|
113198
112968
|
end: {
|
|
113199
|
-
line:
|
|
112969
|
+
line: 145,
|
|
113200
112970
|
column: 16
|
|
113201
112971
|
}
|
|
113202
112972
|
}],
|
|
113203
|
-
line:
|
|
112973
|
+
line: 114
|
|
113204
112974
|
},
|
|
113205
|
-
"
|
|
112975
|
+
"10": {
|
|
113206
112976
|
loc: {
|
|
113207
112977
|
start: {
|
|
113208
|
-
line:
|
|
112978
|
+
line: 147,
|
|
113209
112979
|
column: 11
|
|
113210
112980
|
},
|
|
113211
112981
|
end: {
|
|
113212
|
-
line:
|
|
112982
|
+
line: 151,
|
|
113213
112983
|
column: 11
|
|
113214
112984
|
}
|
|
113215
112985
|
},
|
|
113216
112986
|
type: "binary-expr",
|
|
113217
112987
|
locations: [{
|
|
113218
112988
|
start: {
|
|
113219
|
-
line:
|
|
112989
|
+
line: 147,
|
|
113220
112990
|
column: 11
|
|
113221
112991
|
},
|
|
113222
112992
|
end: {
|
|
113223
|
-
line:
|
|
112993
|
+
line: 147,
|
|
113224
112994
|
column: 19
|
|
113225
112995
|
}
|
|
113226
112996
|
}, {
|
|
113227
112997
|
start: {
|
|
113228
|
-
line:
|
|
112998
|
+
line: 148,
|
|
113229
112999
|
column: 12
|
|
113230
113000
|
},
|
|
113231
113001
|
end: {
|
|
113232
|
-
line:
|
|
113002
|
+
line: 150,
|
|
113233
113003
|
column: 16
|
|
113234
113004
|
}
|
|
113235
113005
|
}],
|
|
113236
|
-
line:
|
|
113006
|
+
line: 147
|
|
113237
113007
|
}
|
|
113238
113008
|
},
|
|
113239
113009
|
s: {
|
|
@@ -113269,7 +113039,8 @@ function cov_2d0jax9c7z() {
|
|
|
113269
113039
|
"29": 0,
|
|
113270
113040
|
"30": 0,
|
|
113271
113041
|
"31": 0,
|
|
113272
|
-
"32": 0
|
|
113042
|
+
"32": 0,
|
|
113043
|
+
"33": 0
|
|
113273
113044
|
},
|
|
113274
113045
|
f: {
|
|
113275
113046
|
"0": 0,
|
|
@@ -113287,13 +113058,14 @@ function cov_2d0jax9c7z() {
|
|
|
113287
113058
|
"3": [0, 0],
|
|
113288
113059
|
"4": [0, 0],
|
|
113289
113060
|
"5": [0, 0],
|
|
113290
|
-
"6": [0, 0
|
|
113291
|
-
"7": [0, 0],
|
|
113061
|
+
"6": [0, 0],
|
|
113062
|
+
"7": [0, 0, 0, 0],
|
|
113292
113063
|
"8": [0, 0],
|
|
113293
|
-
"9": [0, 0]
|
|
113064
|
+
"9": [0, 0],
|
|
113065
|
+
"10": [0, 0]
|
|
113294
113066
|
},
|
|
113295
113067
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
113296
|
-
hash: "
|
|
113068
|
+
hash: "2f3b5248e854f26589712f714deeef8357b6edaa"
|
|
113297
113069
|
};
|
|
113298
113070
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
113299
113071
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -113351,7 +113123,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113351
113123
|
cov_2d0jax9c7z().s[12]++;
|
|
113352
113124
|
var fetchUnsplashPhotos = /*#__PURE__*/function () {
|
|
113353
113125
|
var _ref15 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(page) {
|
|
113354
|
-
var _ref16, results, total_pages;
|
|
113126
|
+
var response, _ref16, results, total_pages;
|
|
113355
113127
|
return regenerator.wrap(function _callee$(_context) {
|
|
113356
113128
|
while (1) switch (_context.prev = _context.next) {
|
|
113357
113129
|
case 0:
|
|
@@ -113370,63 +113142,62 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113370
113142
|
apiKey: unsplashApiKey
|
|
113371
113143
|
});
|
|
113372
113144
|
case 10:
|
|
113373
|
-
|
|
113374
|
-
results = _ref16.results;
|
|
113375
|
-
|
|
113376
|
-
cov_2d0jax9c7z().s[17]++;
|
|
113145
|
+
response = _context.sent;
|
|
113146
|
+
_ref16 = (cov_2d0jax9c7z().s[17]++, (cov_2d0jax9c7z().b[1][0]++, response.data) || (cov_2d0jax9c7z().b[1][1]++, response)), results = _ref16.results, total_pages = _ref16.total_pages;
|
|
113147
|
+
cov_2d0jax9c7z().s[18]++;
|
|
113377
113148
|
if (page === 1) {
|
|
113378
|
-
cov_2d0jax9c7z().b[
|
|
113379
|
-
cov_2d0jax9c7z().s[
|
|
113149
|
+
cov_2d0jax9c7z().b[2][0]++;
|
|
113150
|
+
cov_2d0jax9c7z().s[19]++;
|
|
113380
113151
|
setImages(results);
|
|
113381
113152
|
} else {
|
|
113382
|
-
cov_2d0jax9c7z().b[
|
|
113383
|
-
cov_2d0jax9c7z().s[
|
|
113153
|
+
cov_2d0jax9c7z().b[2][1]++;
|
|
113154
|
+
cov_2d0jax9c7z().s[20]++;
|
|
113384
113155
|
setImages([].concat(_toConsumableArray$1(images), _toConsumableArray$1(results)));
|
|
113385
113156
|
}
|
|
113386
|
-
cov_2d0jax9c7z().s[20]++;
|
|
113387
|
-
setPageNo(page + 1);
|
|
113388
113157
|
cov_2d0jax9c7z().s[21]++;
|
|
113158
|
+
setPageNo(page + 1);
|
|
113159
|
+
cov_2d0jax9c7z().s[22]++;
|
|
113389
113160
|
setHasMore(page < total_pages);
|
|
113390
|
-
_context.next =
|
|
113161
|
+
_context.next = 24;
|
|
113391
113162
|
break;
|
|
113392
|
-
case
|
|
113393
|
-
_context.prev =
|
|
113163
|
+
case 20:
|
|
113164
|
+
_context.prev = 20;
|
|
113394
113165
|
_context.t0 = _context["catch"](2);
|
|
113395
|
-
cov_2d0jax9c7z().s[22]++;
|
|
113396
|
-
setError(true);
|
|
113397
|
-
case 25:
|
|
113398
|
-
_context.prev = 25;
|
|
113399
113166
|
cov_2d0jax9c7z().s[23]++;
|
|
113167
|
+
setError(true);
|
|
113168
|
+
case 24:
|
|
113169
|
+
_context.prev = 24;
|
|
113170
|
+
cov_2d0jax9c7z().s[24]++;
|
|
113400
113171
|
setLoading(false);
|
|
113401
|
-
return _context.finish(
|
|
113402
|
-
case
|
|
113172
|
+
return _context.finish(24);
|
|
113173
|
+
case 28:
|
|
113403
113174
|
case "end":
|
|
113404
113175
|
return _context.stop();
|
|
113405
113176
|
}
|
|
113406
|
-
}, _callee, null, [[2,
|
|
113177
|
+
}, _callee, null, [[2, 20, 24, 28]]);
|
|
113407
113178
|
}));
|
|
113408
113179
|
return function fetchUnsplashPhotos(_x) {
|
|
113409
113180
|
return _ref15.apply(this, arguments);
|
|
113410
113181
|
};
|
|
113411
113182
|
}();
|
|
113412
|
-
cov_2d0jax9c7z().s[
|
|
113183
|
+
cov_2d0jax9c7z().s[25]++;
|
|
113413
113184
|
var loadMore = function loadMore() {
|
|
113414
113185
|
cov_2d0jax9c7z().f[3]++;
|
|
113415
|
-
cov_2d0jax9c7z().s[
|
|
113416
|
-
if ((cov_2d0jax9c7z().b[
|
|
113417
|
-
cov_2d0jax9c7z().b[
|
|
113418
|
-
cov_2d0jax9c7z().s[
|
|
113186
|
+
cov_2d0jax9c7z().s[26]++;
|
|
113187
|
+
if ((cov_2d0jax9c7z().b[4][0]++, loading) || (cov_2d0jax9c7z().b[4][1]++, !hasMore)) {
|
|
113188
|
+
cov_2d0jax9c7z().b[3][0]++;
|
|
113189
|
+
cov_2d0jax9c7z().s[27]++;
|
|
113419
113190
|
return;
|
|
113420
113191
|
} else {
|
|
113421
|
-
cov_2d0jax9c7z().b[
|
|
113192
|
+
cov_2d0jax9c7z().b[3][1]++;
|
|
113422
113193
|
}
|
|
113423
|
-
cov_2d0jax9c7z().s[
|
|
113424
|
-
(cov_2d0jax9c7z().b[
|
|
113194
|
+
cov_2d0jax9c7z().s[28]++;
|
|
113195
|
+
(cov_2d0jax9c7z().b[5][0]++, pageNo > 1) && (cov_2d0jax9c7z().b[5][1]++, fetchUnsplashPhotos(pageNo));
|
|
113425
113196
|
};
|
|
113426
|
-
var Loader = (cov_2d0jax9c7z().s[
|
|
113197
|
+
var Loader = (cov_2d0jax9c7z().s[29]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
113427
113198
|
className: "neeto-editor-unsplash-gallery__loader"
|
|
113428
113199
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Spinner, null)));
|
|
113429
|
-
cov_2d0jax9c7z().s[
|
|
113200
|
+
cov_2d0jax9c7z().s[30]++;
|
|
113430
113201
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
113431
113202
|
className: "neeto-editor-unsplash-wrapper"
|
|
113432
113203
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
|
|
@@ -113439,16 +113210,16 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113439
113210
|
onChange: function onChange(_ref17) {
|
|
113440
113211
|
var value = _ref17.target.value;
|
|
113441
113212
|
cov_2d0jax9c7z().f[4]++;
|
|
113442
|
-
cov_2d0jax9c7z().s[
|
|
113213
|
+
cov_2d0jax9c7z().s[31]++;
|
|
113443
113214
|
setQuery(value);
|
|
113444
113215
|
}
|
|
113445
|
-
}), (cov_2d0jax9c7z().b[
|
|
113216
|
+
}), (cov_2d0jax9c7z().b[6][0]++, error) && (cov_2d0jax9c7z().b[6][1]++, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
113446
113217
|
className: "neeto-editor-unsplash-gallery__text",
|
|
113447
113218
|
"data-cy": "neeto-editor-unsplash-image-picker-error"
|
|
113448
|
-
}, t("unsplash.error-message"))), (cov_2d0jax9c7z().b[
|
|
113219
|
+
}, t("unsplash.error-message"))), (cov_2d0jax9c7z().b[7][0]++, !error) && (cov_2d0jax9c7z().b[7][1]++, !loading) && (cov_2d0jax9c7z().b[7][2]++, isNilOrEmpty(images)) && (cov_2d0jax9c7z().b[7][3]++, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
113449
113220
|
className: "neeto-editor-unsplash-gallery__text",
|
|
113450
113221
|
"data-cy": "neeto-editor-unsplash-image-picker-no-results-error"
|
|
113451
|
-
}, t("unsplash.no-results"))), (cov_2d0jax9c7z().b[
|
|
113222
|
+
}, t("unsplash.no-results"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
113452
113223
|
className: "neeto-editor-unsplash-container"
|
|
113453
113224
|
}, /*#__PURE__*/React__default["default"].createElement(_default, {
|
|
113454
113225
|
pack: true,
|
|
@@ -113474,9 +113245,9 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113474
113245
|
columns: 3,
|
|
113475
113246
|
gutter: 0
|
|
113476
113247
|
}]
|
|
113477
|
-
}, (cov_2d0jax9c7z().b[
|
|
113248
|
+
}, (cov_2d0jax9c7z().b[9][0]++, images) && (cov_2d0jax9c7z().b[9][1]++, images.map(function (image, index) {
|
|
113478
113249
|
cov_2d0jax9c7z().f[5]++;
|
|
113479
|
-
cov_2d0jax9c7z().s[
|
|
113250
|
+
cov_2d0jax9c7z().s[32]++;
|
|
113480
113251
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
113481
113252
|
className: "neeto-editor-unsplash-gallery__item",
|
|
113482
113253
|
"data-cy": "neeto-editor-unsplash-image-picker-result-".concat(index),
|
|
@@ -113493,7 +113264,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113493
113264
|
src: image.urls.regular,
|
|
113494
113265
|
onClick: function onClick() {
|
|
113495
113266
|
cov_2d0jax9c7z().f[6]++;
|
|
113496
|
-
cov_2d0jax9c7z().s[
|
|
113267
|
+
cov_2d0jax9c7z().s[33]++;
|
|
113497
113268
|
return onSubmit(image.urls.small);
|
|
113498
113269
|
}
|
|
113499
113270
|
}), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
@@ -113501,7 +113272,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113501
113272
|
rel: "noreferrer",
|
|
113502
113273
|
target: "_blank"
|
|
113503
113274
|
}, image.user.name, " "))));
|
|
113504
|
-
}))), (cov_2d0jax9c7z().b[
|
|
113275
|
+
}))), (cov_2d0jax9c7z().b[10][0]++, !hasMore) && (cov_2d0jax9c7z().b[10][1]++, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
113505
113276
|
className: "neeto-editor-unsplash-gallery__text"
|
|
113506
113277
|
}, t("unsplash.end"))))));
|
|
113507
113278
|
};
|