@bigbinary/neeto-editor 1.25.7 → 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 +254 -483
- package/index.js +254 -483
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -84120,282 +84120,9 @@ if (typeof customElements !== 'undefined' && !customElements.get('em-emoji-picke
|
|
|
84120
84120
|
var $b77bcf1206efff3f$exports = {};
|
|
84121
84121
|
$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";
|
|
84122
84122
|
|
|
84123
|
-
function cov_226kerpgip() {
|
|
84124
|
-
var path = "/home/runner/work/neeto-editor/neeto-editor/src/apis/axios.js";
|
|
84125
|
-
var hash = "dd4f83503d27500d73b349e899f9b0b82acc5a63";
|
|
84126
|
-
var global = new Function("return this")();
|
|
84127
|
-
var gcv = "__coverage__";
|
|
84128
|
-
var coverageData = {
|
|
84129
|
-
path: "/home/runner/work/neeto-editor/neeto-editor/src/apis/axios.js",
|
|
84130
|
-
statementMap: {
|
|
84131
|
-
"0": {
|
|
84132
|
-
start: {
|
|
84133
|
-
line: 3,
|
|
84134
|
-
column: 28
|
|
84135
|
-
},
|
|
84136
|
-
end: {
|
|
84137
|
-
line: 8,
|
|
84138
|
-
column: 2
|
|
84139
|
-
}
|
|
84140
|
-
},
|
|
84141
|
-
"1": {
|
|
84142
|
-
start: {
|
|
84143
|
-
line: 10,
|
|
84144
|
-
column: 0
|
|
84145
|
-
},
|
|
84146
|
-
end: {
|
|
84147
|
-
line: 13,
|
|
84148
|
-
column: 2
|
|
84149
|
-
}
|
|
84150
|
-
},
|
|
84151
|
-
"2": {
|
|
84152
|
-
start: {
|
|
84153
|
-
line: 11,
|
|
84154
|
-
column: 14
|
|
84155
|
-
},
|
|
84156
|
-
end: {
|
|
84157
|
-
line: 11,
|
|
84158
|
-
column: 44
|
|
84159
|
-
}
|
|
84160
|
-
},
|
|
84161
|
-
"3": {
|
|
84162
|
-
start: {
|
|
84163
|
-
line: 12,
|
|
84164
|
-
column: 11
|
|
84165
|
-
},
|
|
84166
|
-
end: {
|
|
84167
|
-
line: 12,
|
|
84168
|
-
column: 32
|
|
84169
|
-
}
|
|
84170
|
-
},
|
|
84171
|
-
"4": {
|
|
84172
|
-
start: {
|
|
84173
|
-
line: 15,
|
|
84174
|
-
column: 29
|
|
84175
|
-
},
|
|
84176
|
-
end: {
|
|
84177
|
-
line: 19,
|
|
84178
|
-
column: 1
|
|
84179
|
-
}
|
|
84180
|
-
},
|
|
84181
|
-
"5": {
|
|
84182
|
-
start: {
|
|
84183
|
-
line: 16,
|
|
84184
|
-
column: 48
|
|
84185
|
-
},
|
|
84186
|
-
end: {
|
|
84187
|
-
line: 16,
|
|
84188
|
-
column: 63
|
|
84189
|
-
}
|
|
84190
|
-
},
|
|
84191
|
-
"6": {
|
|
84192
|
-
start: {
|
|
84193
|
-
line: 18,
|
|
84194
|
-
column: 2
|
|
84195
|
-
},
|
|
84196
|
-
end: {
|
|
84197
|
-
line: 18,
|
|
84198
|
-
column: 62
|
|
84199
|
-
}
|
|
84200
|
-
}
|
|
84201
|
-
},
|
|
84202
|
-
fnMap: {
|
|
84203
|
-
"0": {
|
|
84204
|
-
name: "(anonymous_0)",
|
|
84205
|
-
decl: {
|
|
84206
|
-
start: {
|
|
84207
|
-
line: 11,
|
|
84208
|
-
column: 2
|
|
84209
|
-
},
|
|
84210
|
-
end: {
|
|
84211
|
-
line: 11,
|
|
84212
|
-
column: 3
|
|
84213
|
-
}
|
|
84214
|
-
},
|
|
84215
|
-
loc: {
|
|
84216
|
-
start: {
|
|
84217
|
-
line: 11,
|
|
84218
|
-
column: 14
|
|
84219
|
-
},
|
|
84220
|
-
end: {
|
|
84221
|
-
line: 11,
|
|
84222
|
-
column: 44
|
|
84223
|
-
}
|
|
84224
|
-
},
|
|
84225
|
-
line: 11
|
|
84226
|
-
},
|
|
84227
|
-
"1": {
|
|
84228
|
-
name: "(anonymous_1)",
|
|
84229
|
-
decl: {
|
|
84230
|
-
start: {
|
|
84231
|
-
line: 12,
|
|
84232
|
-
column: 2
|
|
84233
|
-
},
|
|
84234
|
-
end: {
|
|
84235
|
-
line: 12,
|
|
84236
|
-
column: 3
|
|
84237
|
-
}
|
|
84238
|
-
},
|
|
84239
|
-
loc: {
|
|
84240
|
-
start: {
|
|
84241
|
-
line: 12,
|
|
84242
|
-
column: 11
|
|
84243
|
-
},
|
|
84244
|
-
end: {
|
|
84245
|
-
line: 12,
|
|
84246
|
-
column: 32
|
|
84247
|
-
}
|
|
84248
|
-
},
|
|
84249
|
-
line: 12
|
|
84250
|
-
},
|
|
84251
|
-
"2": {
|
|
84252
|
-
name: "(anonymous_2)",
|
|
84253
|
-
decl: {
|
|
84254
|
-
start: {
|
|
84255
|
-
line: 15,
|
|
84256
|
-
column: 29
|
|
84257
|
-
},
|
|
84258
|
-
end: {
|
|
84259
|
-
line: 15,
|
|
84260
|
-
column: 30
|
|
84261
|
-
}
|
|
84262
|
-
},
|
|
84263
|
-
loc: {
|
|
84264
|
-
start: {
|
|
84265
|
-
line: 15,
|
|
84266
|
-
column: 41
|
|
84267
|
-
},
|
|
84268
|
-
end: {
|
|
84269
|
-
line: 19,
|
|
84270
|
-
column: 1
|
|
84271
|
-
}
|
|
84272
|
-
},
|
|
84273
|
-
line: 15
|
|
84274
|
-
}
|
|
84275
|
-
},
|
|
84276
|
-
branchMap: {
|
|
84277
|
-
"0": {
|
|
84278
|
-
loc: {
|
|
84279
|
-
start: {
|
|
84280
|
-
line: 16,
|
|
84281
|
-
column: 10
|
|
84282
|
-
},
|
|
84283
|
-
end: {
|
|
84284
|
-
line: 16,
|
|
84285
|
-
column: 43
|
|
84286
|
-
}
|
|
84287
|
-
},
|
|
84288
|
-
type: "default-arg",
|
|
84289
|
-
locations: [{
|
|
84290
|
-
start: {
|
|
84291
|
-
line: 16,
|
|
84292
|
-
column: 38
|
|
84293
|
-
},
|
|
84294
|
-
end: {
|
|
84295
|
-
line: 16,
|
|
84296
|
-
column: 43
|
|
84297
|
-
}
|
|
84298
|
-
}],
|
|
84299
|
-
line: 16
|
|
84300
|
-
},
|
|
84301
|
-
"1": {
|
|
84302
|
-
loc: {
|
|
84303
|
-
start: {
|
|
84304
|
-
line: 18,
|
|
84305
|
-
column: 9
|
|
84306
|
-
},
|
|
84307
|
-
end: {
|
|
84308
|
-
line: 18,
|
|
84309
|
-
column: 61
|
|
84310
|
-
}
|
|
84311
|
-
},
|
|
84312
|
-
type: "cond-expr",
|
|
84313
|
-
locations: [{
|
|
84314
|
-
start: {
|
|
84315
|
-
line: 18,
|
|
84316
|
-
column: 37
|
|
84317
|
-
},
|
|
84318
|
-
end: {
|
|
84319
|
-
line: 18,
|
|
84320
|
-
column: 45
|
|
84321
|
-
}
|
|
84322
|
-
}, {
|
|
84323
|
-
start: {
|
|
84324
|
-
line: 18,
|
|
84325
|
-
column: 48
|
|
84326
|
-
},
|
|
84327
|
-
end: {
|
|
84328
|
-
line: 18,
|
|
84329
|
-
column: 61
|
|
84330
|
-
}
|
|
84331
|
-
}],
|
|
84332
|
-
line: 18
|
|
84333
|
-
}
|
|
84334
|
-
},
|
|
84335
|
-
s: {
|
|
84336
|
-
"0": 0,
|
|
84337
|
-
"1": 0,
|
|
84338
|
-
"2": 0,
|
|
84339
|
-
"3": 0,
|
|
84340
|
-
"4": 0,
|
|
84341
|
-
"5": 0,
|
|
84342
|
-
"6": 0
|
|
84343
|
-
},
|
|
84344
|
-
f: {
|
|
84345
|
-
"0": 0,
|
|
84346
|
-
"1": 0,
|
|
84347
|
-
"2": 0
|
|
84348
|
-
},
|
|
84349
|
-
b: {
|
|
84350
|
-
"0": [0],
|
|
84351
|
-
"1": [0, 0]
|
|
84352
|
-
},
|
|
84353
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
84354
|
-
hash: "dd4f83503d27500d73b349e899f9b0b82acc5a63"
|
|
84355
|
-
};
|
|
84356
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
84357
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
84358
|
-
coverage[path] = coverageData;
|
|
84359
|
-
}
|
|
84360
|
-
var actualCoverage = coverage[path];
|
|
84361
|
-
{
|
|
84362
|
-
// @ts-ignore
|
|
84363
|
-
cov_226kerpgip = function () {
|
|
84364
|
-
return actualCoverage;
|
|
84365
|
-
};
|
|
84366
|
-
}
|
|
84367
|
-
return actualCoverage;
|
|
84368
|
-
}
|
|
84369
|
-
cov_226kerpgip();
|
|
84370
|
-
var axiosEditorInstance = (cov_226kerpgip().s[0]++, axios.create({
|
|
84371
|
-
headers: {
|
|
84372
|
-
"Content-Type": "application/json",
|
|
84373
|
-
Accept: "application/json"
|
|
84374
|
-
}
|
|
84375
|
-
}));
|
|
84376
|
-
cov_226kerpgip().s[1]++;
|
|
84377
|
-
axiosEditorInstance.interceptors.response.use(function (response) {
|
|
84378
|
-
cov_226kerpgip().f[0]++;
|
|
84379
|
-
cov_226kerpgip().s[2]++;
|
|
84380
|
-
return pullDataFromResponse(response);
|
|
84381
|
-
}, function (error) {
|
|
84382
|
-
cov_226kerpgip().f[1]++;
|
|
84383
|
-
cov_226kerpgip().s[3]++;
|
|
84384
|
-
return Promise.reject(error);
|
|
84385
|
-
});
|
|
84386
|
-
cov_226kerpgip().s[4]++;
|
|
84387
|
-
var pullDataFromResponse = function pullDataFromResponse(response) {
|
|
84388
|
-
cov_226kerpgip().f[2]++;
|
|
84389
|
-
var _ref = (cov_226kerpgip().s[5]++, response.config),
|
|
84390
|
-
_ref$includeMetadataI = _ref.includeMetadataInResponse,
|
|
84391
|
-
includeMetadataInResponse = _ref$includeMetadataI === void 0 ? (cov_226kerpgip().b[0][0]++, false) : _ref$includeMetadataI;
|
|
84392
|
-
cov_226kerpgip().s[6]++;
|
|
84393
|
-
return includeMetadataInResponse ? (cov_226kerpgip().b[1][0]++, response) : (cov_226kerpgip().b[1][1]++, response.data);
|
|
84394
|
-
};
|
|
84395
|
-
|
|
84396
84123
|
function cov_1zmyuy8mgp() {
|
|
84397
84124
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/apis/emoji_picker.js";
|
|
84398
|
-
var hash = "
|
|
84125
|
+
var hash = "3ff6dd958828d335dd9a111c3afc23b86044f3fd";
|
|
84399
84126
|
var global = new Function("return this")();
|
|
84400
84127
|
var gcv = "__coverage__";
|
|
84401
84128
|
var coverageData = {
|
|
@@ -84407,27 +84134,27 @@ function cov_1zmyuy8mgp() {
|
|
|
84407
84134
|
column: 14
|
|
84408
84135
|
},
|
|
84409
84136
|
end: {
|
|
84410
|
-
line:
|
|
84411
|
-
column:
|
|
84137
|
+
line: 3,
|
|
84138
|
+
column: 78
|
|
84412
84139
|
}
|
|
84413
84140
|
},
|
|
84414
84141
|
"1": {
|
|
84415
84142
|
start: {
|
|
84416
|
-
line:
|
|
84417
|
-
column:
|
|
84143
|
+
line: 3,
|
|
84144
|
+
column: 20
|
|
84418
84145
|
},
|
|
84419
84146
|
end: {
|
|
84420
|
-
line:
|
|
84421
|
-
column:
|
|
84147
|
+
line: 3,
|
|
84148
|
+
column: 78
|
|
84422
84149
|
}
|
|
84423
84150
|
},
|
|
84424
84151
|
"2": {
|
|
84425
84152
|
start: {
|
|
84426
|
-
line:
|
|
84153
|
+
line: 5,
|
|
84427
84154
|
column: 23
|
|
84428
84155
|
},
|
|
84429
84156
|
end: {
|
|
84430
|
-
line:
|
|
84157
|
+
line: 5,
|
|
84431
84158
|
column: 32
|
|
84432
84159
|
}
|
|
84433
84160
|
}
|
|
@@ -84447,15 +84174,15 @@ function cov_1zmyuy8mgp() {
|
|
|
84447
84174
|
},
|
|
84448
84175
|
loc: {
|
|
84449
84176
|
start: {
|
|
84450
|
-
line:
|
|
84451
|
-
column:
|
|
84177
|
+
line: 3,
|
|
84178
|
+
column: 20
|
|
84452
84179
|
},
|
|
84453
84180
|
end: {
|
|
84454
|
-
line:
|
|
84455
|
-
column:
|
|
84181
|
+
line: 3,
|
|
84182
|
+
column: 78
|
|
84456
84183
|
}
|
|
84457
84184
|
},
|
|
84458
|
-
line:
|
|
84185
|
+
line: 3
|
|
84459
84186
|
}
|
|
84460
84187
|
},
|
|
84461
84188
|
branchMap: {},
|
|
@@ -84469,7 +84196,7 @@ function cov_1zmyuy8mgp() {
|
|
|
84469
84196
|
},
|
|
84470
84197
|
b: {},
|
|
84471
84198
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
84472
|
-
hash: "
|
|
84199
|
+
hash: "3ff6dd958828d335dd9a111c3afc23b86044f3fd"
|
|
84473
84200
|
};
|
|
84474
84201
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
84475
84202
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -84489,7 +84216,7 @@ cov_1zmyuy8mgp().s[0]++;
|
|
|
84489
84216
|
var fetch$1 = function fetch() {
|
|
84490
84217
|
cov_1zmyuy8mgp().f[0]++;
|
|
84491
84218
|
cov_1zmyuy8mgp().s[1]++;
|
|
84492
|
-
return
|
|
84219
|
+
return axios.get("https://cdn.jsdelivr.net/npm/@emoji-mart/data");
|
|
84493
84220
|
};
|
|
84494
84221
|
var emojiPickerApi = (cov_1zmyuy8mgp().s[2]++, {
|
|
84495
84222
|
fetch: fetch$1
|
|
@@ -91661,7 +91388,7 @@ var ImageExtension = (cov_ksv9azglk().s[0]++, Node$1.create({
|
|
|
91661
91388
|
}
|
|
91662
91389
|
},
|
|
91663
91390
|
figheight: {
|
|
91664
|
-
"default":
|
|
91391
|
+
"default": "auto",
|
|
91665
91392
|
parseHTML: function parseHTML(element) {
|
|
91666
91393
|
var _element$querySelecto3;
|
|
91667
91394
|
cov_ksv9azglk().f[4]++;
|
|
@@ -91670,7 +91397,7 @@ var ImageExtension = (cov_ksv9azglk().s[0]++, Node$1.create({
|
|
|
91670
91397
|
}
|
|
91671
91398
|
},
|
|
91672
91399
|
figwidth: {
|
|
91673
|
-
"default":
|
|
91400
|
+
"default": 400,
|
|
91674
91401
|
parseHTML: function parseHTML(element) {
|
|
91675
91402
|
var _element$querySelecto4;
|
|
91676
91403
|
cov_ksv9azglk().f[5]++;
|
|
@@ -112060,7 +111787,7 @@ var searchUnsplashImages = function searchUnsplashImages(_ref) {
|
|
|
112060
111787
|
apiKey = _ref.apiKey;
|
|
112061
111788
|
cov_38kboi50e().f[0]++;
|
|
112062
111789
|
cov_38kboi50e().s[1]++;
|
|
112063
|
-
return
|
|
111790
|
+
return axios.get(UNSPLASH_BASE_URL, {
|
|
112064
111791
|
headers: {
|
|
112065
111792
|
Authorization: "Client-ID ".concat(apiKey)
|
|
112066
111793
|
},
|
|
@@ -112351,7 +112078,7 @@ var useDebounce = function useDebounce(value) {
|
|
|
112351
112078
|
|
|
112352
112079
|
function cov_2d0jax9c7z() {
|
|
112353
112080
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/UnsplashImagePicker.jsx";
|
|
112354
|
-
var hash = "
|
|
112081
|
+
var hash = "2f3b5248e854f26589712f714deeef8357b6edaa";
|
|
112355
112082
|
var global = new Function("return this")();
|
|
112356
112083
|
var gcv = "__coverage__";
|
|
112357
112084
|
var coverageData = {
|
|
@@ -112363,7 +112090,7 @@ function cov_2d0jax9c7z() {
|
|
|
112363
112090
|
column: 28
|
|
112364
112091
|
},
|
|
112365
112092
|
end: {
|
|
112366
|
-
line:
|
|
112093
|
+
line: 156,
|
|
112367
112094
|
column: 1
|
|
112368
112095
|
}
|
|
112369
112096
|
},
|
|
@@ -112483,7 +112210,7 @@ function cov_2d0jax9c7z() {
|
|
|
112483
112210
|
column: 30
|
|
112484
112211
|
},
|
|
112485
112212
|
end: {
|
|
112486
|
-
line:
|
|
112213
|
+
line: 53,
|
|
112487
112214
|
column: 3
|
|
112488
112215
|
}
|
|
112489
112216
|
},
|
|
@@ -112493,7 +112220,7 @@ function cov_2d0jax9c7z() {
|
|
|
112493
112220
|
column: 4
|
|
112494
112221
|
},
|
|
112495
112222
|
end: {
|
|
112496
|
-
line:
|
|
112223
|
+
line: 52,
|
|
112497
112224
|
column: 5
|
|
112498
112225
|
}
|
|
112499
112226
|
},
|
|
@@ -112520,7 +112247,7 @@ function cov_2d0jax9c7z() {
|
|
|
112520
112247
|
"16": {
|
|
112521
112248
|
start: {
|
|
112522
112249
|
line: 33,
|
|
112523
|
-
column:
|
|
112250
|
+
column: 23
|
|
112524
112251
|
},
|
|
112525
112252
|
end: {
|
|
112526
112253
|
line: 37,
|
|
@@ -112529,42 +112256,42 @@ function cov_2d0jax9c7z() {
|
|
|
112529
112256
|
},
|
|
112530
112257
|
"17": {
|
|
112531
112258
|
start: {
|
|
112532
|
-
line:
|
|
112533
|
-
column:
|
|
112259
|
+
line: 38,
|
|
112260
|
+
column: 39
|
|
112534
112261
|
},
|
|
112535
112262
|
end: {
|
|
112536
|
-
line:
|
|
112537
|
-
column:
|
|
112263
|
+
line: 38,
|
|
112264
|
+
column: 64
|
|
112538
112265
|
}
|
|
112539
112266
|
},
|
|
112540
112267
|
"18": {
|
|
112541
112268
|
start: {
|
|
112542
112269
|
line: 40,
|
|
112543
|
-
column:
|
|
112270
|
+
column: 6
|
|
112544
112271
|
},
|
|
112545
112272
|
end: {
|
|
112546
|
-
line:
|
|
112547
|
-
column:
|
|
112273
|
+
line: 44,
|
|
112274
|
+
column: 7
|
|
112548
112275
|
}
|
|
112549
112276
|
},
|
|
112550
112277
|
"19": {
|
|
112551
112278
|
start: {
|
|
112552
|
-
line:
|
|
112279
|
+
line: 41,
|
|
112553
112280
|
column: 8
|
|
112554
112281
|
},
|
|
112555
112282
|
end: {
|
|
112556
|
-
line:
|
|
112557
|
-
column:
|
|
112283
|
+
line: 41,
|
|
112284
|
+
column: 27
|
|
112558
112285
|
}
|
|
112559
112286
|
},
|
|
112560
112287
|
"20": {
|
|
112561
112288
|
start: {
|
|
112562
|
-
line:
|
|
112563
|
-
column:
|
|
112289
|
+
line: 43,
|
|
112290
|
+
column: 8
|
|
112564
112291
|
},
|
|
112565
112292
|
end: {
|
|
112566
|
-
line:
|
|
112567
|
-
column:
|
|
112293
|
+
line: 43,
|
|
112294
|
+
column: 43
|
|
112568
112295
|
}
|
|
112569
112296
|
},
|
|
112570
112297
|
"21": {
|
|
@@ -112574,116 +112301,126 @@ function cov_2d0jax9c7z() {
|
|
|
112574
112301
|
},
|
|
112575
112302
|
end: {
|
|
112576
112303
|
line: 46,
|
|
112577
|
-
column:
|
|
112304
|
+
column: 26
|
|
112578
112305
|
}
|
|
112579
112306
|
},
|
|
112580
112307
|
"22": {
|
|
112581
112308
|
start: {
|
|
112582
|
-
line:
|
|
112309
|
+
line: 47,
|
|
112583
112310
|
column: 6
|
|
112584
112311
|
},
|
|
112585
112312
|
end: {
|
|
112586
|
-
line:
|
|
112587
|
-
column:
|
|
112313
|
+
line: 47,
|
|
112314
|
+
column: 37
|
|
112588
112315
|
}
|
|
112589
112316
|
},
|
|
112590
112317
|
"23": {
|
|
112591
112318
|
start: {
|
|
112592
|
-
line:
|
|
112319
|
+
line: 49,
|
|
112593
112320
|
column: 6
|
|
112594
112321
|
},
|
|
112595
112322
|
end: {
|
|
112596
|
-
line:
|
|
112597
|
-
column:
|
|
112323
|
+
line: 49,
|
|
112324
|
+
column: 21
|
|
112598
112325
|
}
|
|
112599
112326
|
},
|
|
112600
112327
|
"24": {
|
|
112601
112328
|
start: {
|
|
112602
|
-
line:
|
|
112603
|
-
column:
|
|
112329
|
+
line: 51,
|
|
112330
|
+
column: 6
|
|
112604
112331
|
},
|
|
112605
112332
|
end: {
|
|
112606
|
-
line:
|
|
112607
|
-
column:
|
|
112333
|
+
line: 51,
|
|
112334
|
+
column: 24
|
|
112608
112335
|
}
|
|
112609
112336
|
},
|
|
112610
112337
|
"25": {
|
|
112611
112338
|
start: {
|
|
112612
112339
|
line: 55,
|
|
112340
|
+
column: 19
|
|
112341
|
+
},
|
|
112342
|
+
end: {
|
|
112343
|
+
line: 59,
|
|
112344
|
+
column: 3
|
|
112345
|
+
}
|
|
112346
|
+
},
|
|
112347
|
+
"26": {
|
|
112348
|
+
start: {
|
|
112349
|
+
line: 56,
|
|
112613
112350
|
column: 4
|
|
112614
112351
|
},
|
|
112615
112352
|
end: {
|
|
112616
|
-
line:
|
|
112353
|
+
line: 56,
|
|
112617
112354
|
column: 36
|
|
112618
112355
|
}
|
|
112619
112356
|
},
|
|
112620
|
-
"
|
|
112357
|
+
"27": {
|
|
112621
112358
|
start: {
|
|
112622
|
-
line:
|
|
112359
|
+
line: 56,
|
|
112623
112360
|
column: 29
|
|
112624
112361
|
},
|
|
112625
112362
|
end: {
|
|
112626
|
-
line:
|
|
112363
|
+
line: 56,
|
|
112627
112364
|
column: 36
|
|
112628
112365
|
}
|
|
112629
112366
|
},
|
|
112630
|
-
"
|
|
112367
|
+
"28": {
|
|
112631
112368
|
start: {
|
|
112632
|
-
line:
|
|
112369
|
+
line: 58,
|
|
112633
112370
|
column: 4
|
|
112634
112371
|
},
|
|
112635
112372
|
end: {
|
|
112636
|
-
line:
|
|
112373
|
+
line: 58,
|
|
112637
112374
|
column: 46
|
|
112638
112375
|
}
|
|
112639
112376
|
},
|
|
112640
|
-
"
|
|
112377
|
+
"29": {
|
|
112641
112378
|
start: {
|
|
112642
|
-
line:
|
|
112379
|
+
line: 62,
|
|
112643
112380
|
column: 4
|
|
112644
112381
|
},
|
|
112645
112382
|
end: {
|
|
112646
|
-
line:
|
|
112383
|
+
line: 64,
|
|
112647
112384
|
column: 10
|
|
112648
112385
|
}
|
|
112649
112386
|
},
|
|
112650
|
-
"
|
|
112387
|
+
"30": {
|
|
112651
112388
|
start: {
|
|
112652
|
-
line:
|
|
112389
|
+
line: 67,
|
|
112653
112390
|
column: 2
|
|
112654
112391
|
},
|
|
112655
112392
|
end: {
|
|
112656
|
-
line:
|
|
112393
|
+
line: 155,
|
|
112657
112394
|
column: 4
|
|
112658
112395
|
}
|
|
112659
112396
|
},
|
|
112660
|
-
"
|
|
112397
|
+
"31": {
|
|
112661
112398
|
start: {
|
|
112662
|
-
line:
|
|
112399
|
+
line: 77,
|
|
112663
112400
|
column: 10
|
|
112664
112401
|
},
|
|
112665
112402
|
end: {
|
|
112666
|
-
line:
|
|
112403
|
+
line: 77,
|
|
112667
112404
|
column: 26
|
|
112668
112405
|
}
|
|
112669
112406
|
},
|
|
112670
|
-
"
|
|
112407
|
+
"32": {
|
|
112671
112408
|
start: {
|
|
112672
|
-
line:
|
|
112409
|
+
line: 116,
|
|
112673
112410
|
column: 16
|
|
112674
112411
|
},
|
|
112675
112412
|
end: {
|
|
112676
|
-
line:
|
|
112413
|
+
line: 144,
|
|
112677
112414
|
column: 22
|
|
112678
112415
|
}
|
|
112679
112416
|
},
|
|
112680
|
-
"
|
|
112417
|
+
"33": {
|
|
112681
112418
|
start: {
|
|
112682
|
-
line:
|
|
112419
|
+
line: 133,
|
|
112683
112420
|
column: 39
|
|
112684
112421
|
},
|
|
112685
112422
|
end: {
|
|
112686
|
-
line:
|
|
112423
|
+
line: 133,
|
|
112687
112424
|
column: 65
|
|
112688
112425
|
}
|
|
112689
112426
|
}
|
|
@@ -112707,7 +112444,7 @@ function cov_2d0jax9c7z() {
|
|
|
112707
112444
|
column: 62
|
|
112708
112445
|
},
|
|
112709
112446
|
end: {
|
|
112710
|
-
line:
|
|
112447
|
+
line: 156,
|
|
112711
112448
|
column: 1
|
|
112712
112449
|
}
|
|
112713
112450
|
},
|
|
@@ -112755,7 +112492,7 @@ function cov_2d0jax9c7z() {
|
|
|
112755
112492
|
column: 44
|
|
112756
112493
|
},
|
|
112757
112494
|
end: {
|
|
112758
|
-
line:
|
|
112495
|
+
line: 53,
|
|
112759
112496
|
column: 3
|
|
112760
112497
|
}
|
|
112761
112498
|
},
|
|
@@ -112765,97 +112502,97 @@ function cov_2d0jax9c7z() {
|
|
|
112765
112502
|
name: "(anonymous_3)",
|
|
112766
112503
|
decl: {
|
|
112767
112504
|
start: {
|
|
112768
|
-
line:
|
|
112505
|
+
line: 55,
|
|
112769
112506
|
column: 19
|
|
112770
112507
|
},
|
|
112771
112508
|
end: {
|
|
112772
|
-
line:
|
|
112509
|
+
line: 55,
|
|
112773
112510
|
column: 20
|
|
112774
112511
|
}
|
|
112775
112512
|
},
|
|
112776
112513
|
loc: {
|
|
112777
112514
|
start: {
|
|
112778
|
-
line:
|
|
112515
|
+
line: 55,
|
|
112779
112516
|
column: 25
|
|
112780
112517
|
},
|
|
112781
112518
|
end: {
|
|
112782
|
-
line:
|
|
112519
|
+
line: 59,
|
|
112783
112520
|
column: 3
|
|
112784
112521
|
}
|
|
112785
112522
|
},
|
|
112786
|
-
line:
|
|
112523
|
+
line: 55
|
|
112787
112524
|
},
|
|
112788
112525
|
"4": {
|
|
112789
112526
|
name: "(anonymous_4)",
|
|
112790
112527
|
decl: {
|
|
112791
112528
|
start: {
|
|
112792
|
-
line:
|
|
112529
|
+
line: 76,
|
|
112793
112530
|
column: 18
|
|
112794
112531
|
},
|
|
112795
112532
|
end: {
|
|
112796
|
-
line:
|
|
112533
|
+
line: 76,
|
|
112797
112534
|
column: 19
|
|
112798
112535
|
}
|
|
112799
112536
|
},
|
|
112800
112537
|
loc: {
|
|
112801
112538
|
start: {
|
|
112802
|
-
line:
|
|
112539
|
+
line: 76,
|
|
112803
112540
|
column: 45
|
|
112804
112541
|
},
|
|
112805
112542
|
end: {
|
|
112806
|
-
line:
|
|
112543
|
+
line: 78,
|
|
112807
112544
|
column: 9
|
|
112808
112545
|
}
|
|
112809
112546
|
},
|
|
112810
|
-
line:
|
|
112547
|
+
line: 76
|
|
112811
112548
|
},
|
|
112812
112549
|
"5": {
|
|
112813
112550
|
name: "(anonymous_5)",
|
|
112814
112551
|
decl: {
|
|
112815
112552
|
start: {
|
|
112816
|
-
line:
|
|
112553
|
+
line: 115,
|
|
112817
112554
|
column: 25
|
|
112818
112555
|
},
|
|
112819
112556
|
end: {
|
|
112820
|
-
line:
|
|
112557
|
+
line: 115,
|
|
112821
112558
|
column: 26
|
|
112822
112559
|
}
|
|
112823
112560
|
},
|
|
112824
112561
|
loc: {
|
|
112825
112562
|
start: {
|
|
112826
|
-
line:
|
|
112563
|
+
line: 116,
|
|
112827
112564
|
column: 16
|
|
112828
112565
|
},
|
|
112829
112566
|
end: {
|
|
112830
|
-
line:
|
|
112567
|
+
line: 144,
|
|
112831
112568
|
column: 22
|
|
112832
112569
|
}
|
|
112833
112570
|
},
|
|
112834
|
-
line:
|
|
112571
|
+
line: 116
|
|
112835
112572
|
},
|
|
112836
112573
|
"6": {
|
|
112837
112574
|
name: "(anonymous_6)",
|
|
112838
112575
|
decl: {
|
|
112839
112576
|
start: {
|
|
112840
|
-
line:
|
|
112577
|
+
line: 133,
|
|
112841
112578
|
column: 33
|
|
112842
112579
|
},
|
|
112843
112580
|
end: {
|
|
112844
|
-
line:
|
|
112581
|
+
line: 133,
|
|
112845
112582
|
column: 34
|
|
112846
112583
|
}
|
|
112847
112584
|
},
|
|
112848
112585
|
loc: {
|
|
112849
112586
|
start: {
|
|
112850
|
-
line:
|
|
112587
|
+
line: 133,
|
|
112851
112588
|
column: 39
|
|
112852
112589
|
},
|
|
112853
112590
|
end: {
|
|
112854
|
-
line:
|
|
112591
|
+
line: 133,
|
|
112855
112592
|
column: 65
|
|
112856
112593
|
}
|
|
112857
112594
|
},
|
|
112858
|
-
line:
|
|
112595
|
+
line: 133
|
|
112859
112596
|
}
|
|
112860
112597
|
},
|
|
112861
112598
|
branchMap: {
|
|
@@ -112895,55 +112632,88 @@ function cov_2d0jax9c7z() {
|
|
|
112895
112632
|
"1": {
|
|
112896
112633
|
loc: {
|
|
112897
112634
|
start: {
|
|
112898
|
-
line:
|
|
112635
|
+
line: 38,
|
|
112636
|
+
column: 39
|
|
112637
|
+
},
|
|
112638
|
+
end: {
|
|
112639
|
+
line: 38,
|
|
112640
|
+
column: 64
|
|
112641
|
+
}
|
|
112642
|
+
},
|
|
112643
|
+
type: "binary-expr",
|
|
112644
|
+
locations: [{
|
|
112645
|
+
start: {
|
|
112646
|
+
line: 38,
|
|
112647
|
+
column: 39
|
|
112648
|
+
},
|
|
112649
|
+
end: {
|
|
112650
|
+
line: 38,
|
|
112651
|
+
column: 52
|
|
112652
|
+
}
|
|
112653
|
+
}, {
|
|
112654
|
+
start: {
|
|
112655
|
+
line: 38,
|
|
112656
|
+
column: 56
|
|
112657
|
+
},
|
|
112658
|
+
end: {
|
|
112659
|
+
line: 38,
|
|
112660
|
+
column: 64
|
|
112661
|
+
}
|
|
112662
|
+
}],
|
|
112663
|
+
line: 38
|
|
112664
|
+
},
|
|
112665
|
+
"2": {
|
|
112666
|
+
loc: {
|
|
112667
|
+
start: {
|
|
112668
|
+
line: 40,
|
|
112899
112669
|
column: 6
|
|
112900
112670
|
},
|
|
112901
112671
|
end: {
|
|
112902
|
-
line:
|
|
112672
|
+
line: 44,
|
|
112903
112673
|
column: 7
|
|
112904
112674
|
}
|
|
112905
112675
|
},
|
|
112906
112676
|
type: "if",
|
|
112907
112677
|
locations: [{
|
|
112908
112678
|
start: {
|
|
112909
|
-
line:
|
|
112679
|
+
line: 40,
|
|
112910
112680
|
column: 6
|
|
112911
112681
|
},
|
|
112912
112682
|
end: {
|
|
112913
|
-
line:
|
|
112683
|
+
line: 44,
|
|
112914
112684
|
column: 7
|
|
112915
112685
|
}
|
|
112916
112686
|
}, {
|
|
112917
112687
|
start: {
|
|
112918
|
-
line:
|
|
112688
|
+
line: 42,
|
|
112919
112689
|
column: 13
|
|
112920
112690
|
},
|
|
112921
112691
|
end: {
|
|
112922
|
-
line:
|
|
112692
|
+
line: 44,
|
|
112923
112693
|
column: 7
|
|
112924
112694
|
}
|
|
112925
112695
|
}],
|
|
112926
|
-
line:
|
|
112696
|
+
line: 40
|
|
112927
112697
|
},
|
|
112928
|
-
"
|
|
112698
|
+
"3": {
|
|
112929
112699
|
loc: {
|
|
112930
112700
|
start: {
|
|
112931
|
-
line:
|
|
112701
|
+
line: 56,
|
|
112932
112702
|
column: 4
|
|
112933
112703
|
},
|
|
112934
112704
|
end: {
|
|
112935
|
-
line:
|
|
112705
|
+
line: 56,
|
|
112936
112706
|
column: 36
|
|
112937
112707
|
}
|
|
112938
112708
|
},
|
|
112939
112709
|
type: "if",
|
|
112940
112710
|
locations: [{
|
|
112941
112711
|
start: {
|
|
112942
|
-
line:
|
|
112712
|
+
line: 56,
|
|
112943
112713
|
column: 4
|
|
112944
112714
|
},
|
|
112945
112715
|
end: {
|
|
112946
|
-
line:
|
|
112716
|
+
line: 56,
|
|
112947
112717
|
column: 36
|
|
112948
112718
|
}
|
|
112949
112719
|
}, {
|
|
@@ -112956,256 +112726,256 @@ function cov_2d0jax9c7z() {
|
|
|
112956
112726
|
column: undefined
|
|
112957
112727
|
}
|
|
112958
112728
|
}],
|
|
112959
|
-
line:
|
|
112729
|
+
line: 56
|
|
112960
112730
|
},
|
|
112961
|
-
"
|
|
112731
|
+
"4": {
|
|
112962
112732
|
loc: {
|
|
112963
112733
|
start: {
|
|
112964
|
-
line:
|
|
112734
|
+
line: 56,
|
|
112965
112735
|
column: 8
|
|
112966
112736
|
},
|
|
112967
112737
|
end: {
|
|
112968
|
-
line:
|
|
112738
|
+
line: 56,
|
|
112969
112739
|
column: 27
|
|
112970
112740
|
}
|
|
112971
112741
|
},
|
|
112972
112742
|
type: "binary-expr",
|
|
112973
112743
|
locations: [{
|
|
112974
112744
|
start: {
|
|
112975
|
-
line:
|
|
112745
|
+
line: 56,
|
|
112976
112746
|
column: 8
|
|
112977
112747
|
},
|
|
112978
112748
|
end: {
|
|
112979
|
-
line:
|
|
112749
|
+
line: 56,
|
|
112980
112750
|
column: 15
|
|
112981
112751
|
}
|
|
112982
112752
|
}, {
|
|
112983
112753
|
start: {
|
|
112984
|
-
line:
|
|
112754
|
+
line: 56,
|
|
112985
112755
|
column: 19
|
|
112986
112756
|
},
|
|
112987
112757
|
end: {
|
|
112988
|
-
line:
|
|
112758
|
+
line: 56,
|
|
112989
112759
|
column: 27
|
|
112990
112760
|
}
|
|
112991
112761
|
}],
|
|
112992
|
-
line:
|
|
112762
|
+
line: 56
|
|
112993
112763
|
},
|
|
112994
|
-
"
|
|
112764
|
+
"5": {
|
|
112995
112765
|
loc: {
|
|
112996
112766
|
start: {
|
|
112997
|
-
line:
|
|
112767
|
+
line: 58,
|
|
112998
112768
|
column: 4
|
|
112999
112769
|
},
|
|
113000
112770
|
end: {
|
|
113001
|
-
line:
|
|
112771
|
+
line: 58,
|
|
113002
112772
|
column: 45
|
|
113003
112773
|
}
|
|
113004
112774
|
},
|
|
113005
112775
|
type: "binary-expr",
|
|
113006
112776
|
locations: [{
|
|
113007
112777
|
start: {
|
|
113008
|
-
line:
|
|
112778
|
+
line: 58,
|
|
113009
112779
|
column: 4
|
|
113010
112780
|
},
|
|
113011
112781
|
end: {
|
|
113012
|
-
line:
|
|
112782
|
+
line: 58,
|
|
113013
112783
|
column: 14
|
|
113014
112784
|
}
|
|
113015
112785
|
}, {
|
|
113016
112786
|
start: {
|
|
113017
|
-
line:
|
|
112787
|
+
line: 58,
|
|
113018
112788
|
column: 18
|
|
113019
112789
|
},
|
|
113020
112790
|
end: {
|
|
113021
|
-
line:
|
|
112791
|
+
line: 58,
|
|
113022
112792
|
column: 45
|
|
113023
112793
|
}
|
|
113024
112794
|
}],
|
|
113025
|
-
line:
|
|
112795
|
+
line: 58
|
|
113026
112796
|
},
|
|
113027
|
-
"
|
|
112797
|
+
"6": {
|
|
113028
112798
|
loc: {
|
|
113029
112799
|
start: {
|
|
113030
|
-
line:
|
|
112800
|
+
line: 80,
|
|
113031
112801
|
column: 7
|
|
113032
112802
|
},
|
|
113033
112803
|
end: {
|
|
113034
|
-
line:
|
|
112804
|
+
line: 87,
|
|
113035
112805
|
column: 7
|
|
113036
112806
|
}
|
|
113037
112807
|
},
|
|
113038
112808
|
type: "binary-expr",
|
|
113039
112809
|
locations: [{
|
|
113040
112810
|
start: {
|
|
113041
|
-
line:
|
|
112811
|
+
line: 80,
|
|
113042
112812
|
column: 7
|
|
113043
112813
|
},
|
|
113044
112814
|
end: {
|
|
113045
|
-
line:
|
|
112815
|
+
line: 80,
|
|
113046
112816
|
column: 12
|
|
113047
112817
|
}
|
|
113048
112818
|
}, {
|
|
113049
112819
|
start: {
|
|
113050
|
-
line:
|
|
112820
|
+
line: 81,
|
|
113051
112821
|
column: 8
|
|
113052
112822
|
},
|
|
113053
112823
|
end: {
|
|
113054
|
-
line:
|
|
112824
|
+
line: 86,
|
|
113055
112825
|
column: 12
|
|
113056
112826
|
}
|
|
113057
112827
|
}],
|
|
113058
|
-
line:
|
|
112828
|
+
line: 80
|
|
113059
112829
|
},
|
|
113060
|
-
"
|
|
112830
|
+
"7": {
|
|
113061
112831
|
loc: {
|
|
113062
112832
|
start: {
|
|
113063
|
-
line:
|
|
112833
|
+
line: 88,
|
|
113064
112834
|
column: 7
|
|
113065
112835
|
},
|
|
113066
112836
|
end: {
|
|
113067
|
-
line:
|
|
112837
|
+
line: 95,
|
|
113068
112838
|
column: 7
|
|
113069
112839
|
}
|
|
113070
112840
|
},
|
|
113071
112841
|
type: "binary-expr",
|
|
113072
112842
|
locations: [{
|
|
113073
112843
|
start: {
|
|
113074
|
-
line:
|
|
112844
|
+
line: 88,
|
|
113075
112845
|
column: 7
|
|
113076
112846
|
},
|
|
113077
112847
|
end: {
|
|
113078
|
-
line:
|
|
112848
|
+
line: 88,
|
|
113079
112849
|
column: 13
|
|
113080
112850
|
}
|
|
113081
112851
|
}, {
|
|
113082
112852
|
start: {
|
|
113083
|
-
line:
|
|
112853
|
+
line: 88,
|
|
113084
112854
|
column: 17
|
|
113085
112855
|
},
|
|
113086
112856
|
end: {
|
|
113087
|
-
line:
|
|
112857
|
+
line: 88,
|
|
113088
112858
|
column: 25
|
|
113089
112859
|
}
|
|
113090
112860
|
}, {
|
|
113091
112861
|
start: {
|
|
113092
|
-
line:
|
|
112862
|
+
line: 88,
|
|
113093
112863
|
column: 29
|
|
113094
112864
|
},
|
|
113095
112865
|
end: {
|
|
113096
|
-
line:
|
|
112866
|
+
line: 88,
|
|
113097
112867
|
column: 49
|
|
113098
112868
|
}
|
|
113099
112869
|
}, {
|
|
113100
112870
|
start: {
|
|
113101
|
-
line:
|
|
112871
|
+
line: 89,
|
|
113102
112872
|
column: 8
|
|
113103
112873
|
},
|
|
113104
112874
|
end: {
|
|
113105
|
-
line:
|
|
112875
|
+
line: 94,
|
|
113106
112876
|
column: 12
|
|
113107
112877
|
}
|
|
113108
112878
|
}],
|
|
113109
|
-
line:
|
|
112879
|
+
line: 88
|
|
113110
112880
|
},
|
|
113111
|
-
"
|
|
112881
|
+
"8": {
|
|
113112
112882
|
loc: {
|
|
113113
112883
|
start: {
|
|
113114
|
-
line:
|
|
112884
|
+
line: 96,
|
|
113115
112885
|
column: 7
|
|
113116
112886
|
},
|
|
113117
112887
|
end: {
|
|
113118
|
-
line:
|
|
112888
|
+
line: 153,
|
|
113119
112889
|
column: 7
|
|
113120
112890
|
}
|
|
113121
112891
|
},
|
|
113122
112892
|
type: "binary-expr",
|
|
113123
112893
|
locations: [{
|
|
113124
112894
|
start: {
|
|
113125
|
-
line:
|
|
112895
|
+
line: 96,
|
|
113126
112896
|
column: 7
|
|
113127
112897
|
},
|
|
113128
112898
|
end: {
|
|
113129
|
-
line:
|
|
112899
|
+
line: 96,
|
|
113130
112900
|
column: 13
|
|
113131
112901
|
}
|
|
113132
112902
|
}, {
|
|
113133
112903
|
start: {
|
|
113134
|
-
line:
|
|
112904
|
+
line: 97,
|
|
113135
112905
|
column: 8
|
|
113136
112906
|
},
|
|
113137
112907
|
end: {
|
|
113138
|
-
line:
|
|
112908
|
+
line: 152,
|
|
113139
112909
|
column: 14
|
|
113140
112910
|
}
|
|
113141
112911
|
}],
|
|
113142
|
-
line:
|
|
112912
|
+
line: 96
|
|
113143
112913
|
},
|
|
113144
|
-
"
|
|
112914
|
+
"9": {
|
|
113145
112915
|
loc: {
|
|
113146
112916
|
start: {
|
|
113147
|
-
line:
|
|
112917
|
+
line: 114,
|
|
113148
112918
|
column: 13
|
|
113149
112919
|
},
|
|
113150
112920
|
end: {
|
|
113151
|
-
line:
|
|
112921
|
+
line: 145,
|
|
113152
112922
|
column: 16
|
|
113153
112923
|
}
|
|
113154
112924
|
},
|
|
113155
112925
|
type: "binary-expr",
|
|
113156
112926
|
locations: [{
|
|
113157
112927
|
start: {
|
|
113158
|
-
line:
|
|
112928
|
+
line: 114,
|
|
113159
112929
|
column: 13
|
|
113160
112930
|
},
|
|
113161
112931
|
end: {
|
|
113162
|
-
line:
|
|
112932
|
+
line: 114,
|
|
113163
112933
|
column: 19
|
|
113164
112934
|
}
|
|
113165
112935
|
}, {
|
|
113166
112936
|
start: {
|
|
113167
|
-
line:
|
|
112937
|
+
line: 115,
|
|
113168
112938
|
column: 14
|
|
113169
112939
|
},
|
|
113170
112940
|
end: {
|
|
113171
|
-
line:
|
|
112941
|
+
line: 145,
|
|
113172
112942
|
column: 16
|
|
113173
112943
|
}
|
|
113174
112944
|
}],
|
|
113175
|
-
line:
|
|
112945
|
+
line: 114
|
|
113176
112946
|
},
|
|
113177
|
-
"
|
|
112947
|
+
"10": {
|
|
113178
112948
|
loc: {
|
|
113179
112949
|
start: {
|
|
113180
|
-
line:
|
|
112950
|
+
line: 147,
|
|
113181
112951
|
column: 11
|
|
113182
112952
|
},
|
|
113183
112953
|
end: {
|
|
113184
|
-
line:
|
|
112954
|
+
line: 151,
|
|
113185
112955
|
column: 11
|
|
113186
112956
|
}
|
|
113187
112957
|
},
|
|
113188
112958
|
type: "binary-expr",
|
|
113189
112959
|
locations: [{
|
|
113190
112960
|
start: {
|
|
113191
|
-
line:
|
|
112961
|
+
line: 147,
|
|
113192
112962
|
column: 11
|
|
113193
112963
|
},
|
|
113194
112964
|
end: {
|
|
113195
|
-
line:
|
|
112965
|
+
line: 147,
|
|
113196
112966
|
column: 19
|
|
113197
112967
|
}
|
|
113198
112968
|
}, {
|
|
113199
112969
|
start: {
|
|
113200
|
-
line:
|
|
112970
|
+
line: 148,
|
|
113201
112971
|
column: 12
|
|
113202
112972
|
},
|
|
113203
112973
|
end: {
|
|
113204
|
-
line:
|
|
112974
|
+
line: 150,
|
|
113205
112975
|
column: 16
|
|
113206
112976
|
}
|
|
113207
112977
|
}],
|
|
113208
|
-
line:
|
|
112978
|
+
line: 147
|
|
113209
112979
|
}
|
|
113210
112980
|
},
|
|
113211
112981
|
s: {
|
|
@@ -113241,7 +113011,8 @@ function cov_2d0jax9c7z() {
|
|
|
113241
113011
|
"29": 0,
|
|
113242
113012
|
"30": 0,
|
|
113243
113013
|
"31": 0,
|
|
113244
|
-
"32": 0
|
|
113014
|
+
"32": 0,
|
|
113015
|
+
"33": 0
|
|
113245
113016
|
},
|
|
113246
113017
|
f: {
|
|
113247
113018
|
"0": 0,
|
|
@@ -113259,13 +113030,14 @@ function cov_2d0jax9c7z() {
|
|
|
113259
113030
|
"3": [0, 0],
|
|
113260
113031
|
"4": [0, 0],
|
|
113261
113032
|
"5": [0, 0],
|
|
113262
|
-
"6": [0, 0
|
|
113263
|
-
"7": [0, 0],
|
|
113033
|
+
"6": [0, 0],
|
|
113034
|
+
"7": [0, 0, 0, 0],
|
|
113264
113035
|
"8": [0, 0],
|
|
113265
|
-
"9": [0, 0]
|
|
113036
|
+
"9": [0, 0],
|
|
113037
|
+
"10": [0, 0]
|
|
113266
113038
|
},
|
|
113267
113039
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
113268
|
-
hash: "
|
|
113040
|
+
hash: "2f3b5248e854f26589712f714deeef8357b6edaa"
|
|
113269
113041
|
};
|
|
113270
113042
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
113271
113043
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -113323,7 +113095,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113323
113095
|
cov_2d0jax9c7z().s[12]++;
|
|
113324
113096
|
var fetchUnsplashPhotos = /*#__PURE__*/function () {
|
|
113325
113097
|
var _ref15 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(page) {
|
|
113326
|
-
var _ref16, results, total_pages;
|
|
113098
|
+
var response, _ref16, results, total_pages;
|
|
113327
113099
|
return regenerator.wrap(function _callee$(_context) {
|
|
113328
113100
|
while (1) switch (_context.prev = _context.next) {
|
|
113329
113101
|
case 0:
|
|
@@ -113342,63 +113114,62 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113342
113114
|
apiKey: unsplashApiKey
|
|
113343
113115
|
});
|
|
113344
113116
|
case 10:
|
|
113345
|
-
|
|
113346
|
-
results = _ref16.results;
|
|
113347
|
-
|
|
113348
|
-
cov_2d0jax9c7z().s[17]++;
|
|
113117
|
+
response = _context.sent;
|
|
113118
|
+
_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;
|
|
113119
|
+
cov_2d0jax9c7z().s[18]++;
|
|
113349
113120
|
if (page === 1) {
|
|
113350
|
-
cov_2d0jax9c7z().b[
|
|
113351
|
-
cov_2d0jax9c7z().s[
|
|
113121
|
+
cov_2d0jax9c7z().b[2][0]++;
|
|
113122
|
+
cov_2d0jax9c7z().s[19]++;
|
|
113352
113123
|
setImages(results);
|
|
113353
113124
|
} else {
|
|
113354
|
-
cov_2d0jax9c7z().b[
|
|
113355
|
-
cov_2d0jax9c7z().s[
|
|
113125
|
+
cov_2d0jax9c7z().b[2][1]++;
|
|
113126
|
+
cov_2d0jax9c7z().s[20]++;
|
|
113356
113127
|
setImages([].concat(_toConsumableArray$1(images), _toConsumableArray$1(results)));
|
|
113357
113128
|
}
|
|
113358
|
-
cov_2d0jax9c7z().s[20]++;
|
|
113359
|
-
setPageNo(page + 1);
|
|
113360
113129
|
cov_2d0jax9c7z().s[21]++;
|
|
113130
|
+
setPageNo(page + 1);
|
|
113131
|
+
cov_2d0jax9c7z().s[22]++;
|
|
113361
113132
|
setHasMore(page < total_pages);
|
|
113362
|
-
_context.next =
|
|
113133
|
+
_context.next = 24;
|
|
113363
113134
|
break;
|
|
113364
|
-
case
|
|
113365
|
-
_context.prev =
|
|
113135
|
+
case 20:
|
|
113136
|
+
_context.prev = 20;
|
|
113366
113137
|
_context.t0 = _context["catch"](2);
|
|
113367
|
-
cov_2d0jax9c7z().s[22]++;
|
|
113368
|
-
setError(true);
|
|
113369
|
-
case 25:
|
|
113370
|
-
_context.prev = 25;
|
|
113371
113138
|
cov_2d0jax9c7z().s[23]++;
|
|
113139
|
+
setError(true);
|
|
113140
|
+
case 24:
|
|
113141
|
+
_context.prev = 24;
|
|
113142
|
+
cov_2d0jax9c7z().s[24]++;
|
|
113372
113143
|
setLoading(false);
|
|
113373
|
-
return _context.finish(
|
|
113374
|
-
case
|
|
113144
|
+
return _context.finish(24);
|
|
113145
|
+
case 28:
|
|
113375
113146
|
case "end":
|
|
113376
113147
|
return _context.stop();
|
|
113377
113148
|
}
|
|
113378
|
-
}, _callee, null, [[2,
|
|
113149
|
+
}, _callee, null, [[2, 20, 24, 28]]);
|
|
113379
113150
|
}));
|
|
113380
113151
|
return function fetchUnsplashPhotos(_x) {
|
|
113381
113152
|
return _ref15.apply(this, arguments);
|
|
113382
113153
|
};
|
|
113383
113154
|
}();
|
|
113384
|
-
cov_2d0jax9c7z().s[
|
|
113155
|
+
cov_2d0jax9c7z().s[25]++;
|
|
113385
113156
|
var loadMore = function loadMore() {
|
|
113386
113157
|
cov_2d0jax9c7z().f[3]++;
|
|
113387
|
-
cov_2d0jax9c7z().s[
|
|
113388
|
-
if ((cov_2d0jax9c7z().b[
|
|
113389
|
-
cov_2d0jax9c7z().b[
|
|
113390
|
-
cov_2d0jax9c7z().s[
|
|
113158
|
+
cov_2d0jax9c7z().s[26]++;
|
|
113159
|
+
if ((cov_2d0jax9c7z().b[4][0]++, loading) || (cov_2d0jax9c7z().b[4][1]++, !hasMore)) {
|
|
113160
|
+
cov_2d0jax9c7z().b[3][0]++;
|
|
113161
|
+
cov_2d0jax9c7z().s[27]++;
|
|
113391
113162
|
return;
|
|
113392
113163
|
} else {
|
|
113393
|
-
cov_2d0jax9c7z().b[
|
|
113164
|
+
cov_2d0jax9c7z().b[3][1]++;
|
|
113394
113165
|
}
|
|
113395
|
-
cov_2d0jax9c7z().s[
|
|
113396
|
-
(cov_2d0jax9c7z().b[
|
|
113166
|
+
cov_2d0jax9c7z().s[28]++;
|
|
113167
|
+
(cov_2d0jax9c7z().b[5][0]++, pageNo > 1) && (cov_2d0jax9c7z().b[5][1]++, fetchUnsplashPhotos(pageNo));
|
|
113397
113168
|
};
|
|
113398
|
-
var Loader = (cov_2d0jax9c7z().s[
|
|
113169
|
+
var Loader = (cov_2d0jax9c7z().s[29]++, /*#__PURE__*/React__default.createElement("div", {
|
|
113399
113170
|
className: "neeto-editor-unsplash-gallery__loader"
|
|
113400
113171
|
}, /*#__PURE__*/React__default.createElement(Spinner, null)));
|
|
113401
|
-
cov_2d0jax9c7z().s[
|
|
113172
|
+
cov_2d0jax9c7z().s[30]++;
|
|
113402
113173
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
113403
113174
|
className: "neeto-editor-unsplash-wrapper"
|
|
113404
113175
|
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
@@ -113411,16 +113182,16 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113411
113182
|
onChange: function onChange(_ref17) {
|
|
113412
113183
|
var value = _ref17.target.value;
|
|
113413
113184
|
cov_2d0jax9c7z().f[4]++;
|
|
113414
|
-
cov_2d0jax9c7z().s[
|
|
113185
|
+
cov_2d0jax9c7z().s[31]++;
|
|
113415
113186
|
setQuery(value);
|
|
113416
113187
|
}
|
|
113417
|
-
}), (cov_2d0jax9c7z().b[
|
|
113188
|
+
}), (cov_2d0jax9c7z().b[6][0]++, error) && (cov_2d0jax9c7z().b[6][1]++, /*#__PURE__*/React__default.createElement("p", {
|
|
113418
113189
|
className: "neeto-editor-unsplash-gallery__text",
|
|
113419
113190
|
"data-cy": "neeto-editor-unsplash-image-picker-error"
|
|
113420
|
-
}, t("unsplash.error-message"))), (cov_2d0jax9c7z().b[
|
|
113191
|
+
}, 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.createElement("p", {
|
|
113421
113192
|
className: "neeto-editor-unsplash-gallery__text",
|
|
113422
113193
|
"data-cy": "neeto-editor-unsplash-image-picker-no-results-error"
|
|
113423
|
-
}, t("unsplash.no-results"))), (cov_2d0jax9c7z().b[
|
|
113194
|
+
}, t("unsplash.no-results"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
113424
113195
|
className: "neeto-editor-unsplash-container"
|
|
113425
113196
|
}, /*#__PURE__*/React__default.createElement(_default, {
|
|
113426
113197
|
pack: true,
|
|
@@ -113446,9 +113217,9 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113446
113217
|
columns: 3,
|
|
113447
113218
|
gutter: 0
|
|
113448
113219
|
}]
|
|
113449
|
-
}, (cov_2d0jax9c7z().b[
|
|
113220
|
+
}, (cov_2d0jax9c7z().b[9][0]++, images) && (cov_2d0jax9c7z().b[9][1]++, images.map(function (image, index) {
|
|
113450
113221
|
cov_2d0jax9c7z().f[5]++;
|
|
113451
|
-
cov_2d0jax9c7z().s[
|
|
113222
|
+
cov_2d0jax9c7z().s[32]++;
|
|
113452
113223
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
113453
113224
|
className: "neeto-editor-unsplash-gallery__item",
|
|
113454
113225
|
"data-cy": "neeto-editor-unsplash-image-picker-result-".concat(index),
|
|
@@ -113465,7 +113236,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113465
113236
|
src: image.urls.regular,
|
|
113466
113237
|
onClick: function onClick() {
|
|
113467
113238
|
cov_2d0jax9c7z().f[6]++;
|
|
113468
|
-
cov_2d0jax9c7z().s[
|
|
113239
|
+
cov_2d0jax9c7z().s[33]++;
|
|
113469
113240
|
return onSubmit(image.urls.small);
|
|
113470
113241
|
}
|
|
113471
113242
|
}), /*#__PURE__*/React__default.createElement("a", {
|
|
@@ -113473,7 +113244,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113473
113244
|
rel: "noreferrer",
|
|
113474
113245
|
target: "_blank"
|
|
113475
113246
|
}, image.user.name, " "))));
|
|
113476
|
-
}))), (cov_2d0jax9c7z().b[
|
|
113247
|
+
}))), (cov_2d0jax9c7z().b[10][0]++, !hasMore) && (cov_2d0jax9c7z().b[10][1]++, /*#__PURE__*/React__default.createElement("p", {
|
|
113477
113248
|
className: "neeto-editor-unsplash-gallery__text"
|
|
113478
113249
|
}, t("unsplash.end"))))));
|
|
113479
113250
|
};
|