sanity-plugin-asset-source-unsplash

7.0.247.0.25
dist/index.js
~dist/index.jsModified
+9−9
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -24,34 +24,34 @@
 	}), $[0] = t0) : t0 = $[0], t0;
 }
 const rotate = keyframes`from{transform:rotate(0deg);}to{transform:rotate(360deg);}`, AnimatedSpinnerIcon = styled(SpinnerIcon).withConfig({
 	displayName: "AnimatedSpinnerIcon",
-	componentId: "sc-2sc45f-0"
+	componentId: "sc-jqbi9o-0"
 })`animation:${rotate} 500ms linear infinite;`;
 function SearchInput(t0) {
-	let $ = c(12), { value, changeAction } = t0, [inputValue, setInputValue] = useOptimistic(value), isPending = inputValue !== value, t1;
-	$[0] !== changeAction || $[1] !== setInputValue ? (t1 = function handleChange(newValue) {
+	let $ = c(11), { value, changeAction } = t0, [inputValue, setInputValue] = useOptimistic(value), isPending = inputValue !== value, t1;
+	$[0] === changeAction ? t1 = $[1] : (t1 = function handleChange(newValue) {
 		startTransition(async () => {
 			setInputValue(newValue), await changeAction(newValue);
 		});
-	}, $[0] = changeAction, $[1] = setInputValue, $[2] = t1) : t1 = $[2];
+	}, $[0] = changeAction, $[1] = t1);
 	let handleChange = t1, t2 = inputValue.length > 0 && !isPending, t3, t4;
-	$[3] === handleChange ? (t3 = $[4], t4 = $[5]) : (t3 = (event) => handleChange(event.currentTarget.value), t4 = () => handleChange(""), $[3] = handleChange, $[4] = t3, $[5] = t4);
+	$[2] === handleChange ? (t3 = $[3], t4 = $[4]) : (t3 = (event) => handleChange(event.currentTarget.value), t4 = () => handleChange(""), $[2] = handleChange, $[3] = t3, $[4] = t4);
 	let t5 = isPending && AnimatedSpinnerIcon, t6;
-	return $[6] !== inputValue || $[7] !== t2 || $[8] !== t3 || $[9] !== t4 || $[10] !== t5 ? (t6 = /* @__PURE__ */ jsx(TextInput, {
+	return $[5] !== inputValue || $[6] !== t2 || $[7] !== t3 || $[8] !== t4 || $[9] !== t5 ? (t6 = /* @__PURE__ */ jsx(TextInput, {
 		clearButton: t2,
 		icon: SearchIcon,
 		onChange: t3,
 		onClear: t4,
 		placeholder: "Search by topics or colors",
 		value: inputValue,
 		iconRight: t5
-	}), $[6] = inputValue, $[7] = t2, $[8] = t3, $[9] = t4, $[10] = t5, $[11] = t6) : t6 = $[11], t6;
+	}), $[5] = inputValue, $[6] = t2, $[7] = t3, $[8] = t4, $[9] = t5, $[10] = t6) : t6 = $[10], t6;
 }
 const StyledDialog = styled(Dialog).withConfig({
 	displayName: "StyledDialog",
-	componentId: "sc-nyqpvm-0"
-})`& > [data-ui='DialogCard'] > [data-ui='Card']{height:100%;}`, UnsplashAssetSourceGallery = lazy(() => import("./UnsplashPhotoGallery-CEo30_Cn.js"));
+	componentId: "sc-1swrg6-0"
+})`& > [data-ui='DialogCard'] > [data-ui='Card']{height:100%;}`, UnsplashAssetSourceGallery = lazy(() => import("./UnsplashPhotoGallery-95ChILH4.js"));
 function UnsplashAssetSource(t0) {
 	let $ = c(25), { onClose, onSelect } = t0, t1;
 	$[0] === Symbol.for("react.memo_cache_sentinel") ? (t1 = { apiVersion: "2022-09-01" }, $[0] = t1) : t1 = $[0];
 	let client = useClient(t1), t2;