@pixelated-tech/components 3.9.7 → 3.9.12

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.
Files changed (161) hide show
  1. package/README.md +2 -0
  2. package/dist/components/admin/site-health/site-health-axe-core.js +2 -1
  3. package/dist/components/admin/site-health/site-health-uptime.integration.js +21 -2
  4. package/dist/components/config/config.js +3 -0
  5. package/dist/components/general/sitemap.js +2 -2
  6. package/dist/components/general/smartimage.js +1 -1
  7. package/dist/components/{utilities/functions.js → general/utilities.js} +3 -8
  8. package/dist/components/{general → integrations}/contentful.items.components.js +1 -1
  9. package/dist/components/{general → integrations}/flickr.js +1 -1
  10. package/dist/components/{general → integrations}/google.reviews.components.js +1 -1
  11. package/dist/components/{general → integrations}/instagram.components.js +2 -2
  12. package/dist/components/{general → integrations}/socialcard.js +2 -2
  13. package/dist/components/{general → integrations}/wordpress.components.js +3 -3
  14. package/dist/components/shoppingcart/ebay.components.js +1 -1
  15. package/dist/components/shoppingcart/ebay.functions.js +1 -1
  16. package/dist/components/shoppingcart/shoppingcart.functions.js +1 -1
  17. package/dist/components/sitebuilder/config/ConfigBuilder.js +1 -1
  18. package/dist/components/sitebuilder/form/formutils.js +1 -1
  19. package/dist/components/sitebuilder/page/components/PageEngine.js +1 -1
  20. package/dist/components/sitebuilder/page/lib/pageStorageContentful.js +2 -2
  21. package/dist/config/pixelated.config.json.enc +1 -0
  22. package/dist/index.adminserver.js +1 -1
  23. package/dist/index.js +21 -22
  24. package/dist/index.server.js +10 -18
  25. package/dist/scripts/build.sh +86 -0
  26. package/dist/scripts/config-vault.js +24 -9
  27. package/dist/scripts/config-vault.ts +24 -9
  28. package/dist/scripts/release.sh +252 -85
  29. package/dist/scripts/validate-exports.cjs +1 -1
  30. package/dist/scripts/validate-exports.js +1 -1
  31. package/dist/types/components/admin/site-health/site-health-uptime.integration.d.ts.map +1 -1
  32. package/dist/types/components/config/config.d.ts.map +1 -1
  33. package/dist/types/components/general/schema-blogposting.functions.d.ts +1 -1
  34. package/dist/types/components/general/schema-blogposting.functions.d.ts.map +1 -1
  35. package/dist/types/components/general/sitemap.d.ts.map +1 -1
  36. package/dist/types/components/{utilities/functions.d.ts → general/utilities.d.ts} +1 -2
  37. package/dist/types/components/general/utilities.d.ts.map +1 -0
  38. package/dist/types/components/integrations/calendly.d.ts.map +1 -0
  39. package/dist/types/components/integrations/cloudinary.d.ts.map +1 -0
  40. package/dist/types/components/integrations/contentful.delivery.d.ts.map +1 -0
  41. package/dist/types/components/integrations/contentful.items.components.d.ts.map +1 -0
  42. package/dist/types/components/integrations/contentful.management.d.ts.map +1 -0
  43. package/dist/types/components/{general → integrations}/flickr.d.ts +1 -1
  44. package/dist/types/components/integrations/flickr.d.ts.map +1 -0
  45. package/dist/types/components/integrations/gemini-api.client.d.ts.map +1 -0
  46. package/dist/types/components/integrations/gemini-api.server.d.ts.map +1 -0
  47. package/dist/types/components/integrations/google.reviews.components.d.ts.map +1 -0
  48. package/dist/types/components/integrations/google.reviews.functions.d.ts.map +1 -0
  49. package/dist/types/components/integrations/googleanalytics.d.ts.map +1 -0
  50. package/dist/types/components/integrations/googlemap.d.ts.map +1 -0
  51. package/dist/types/components/integrations/googlesearch.d.ts.map +1 -0
  52. package/dist/types/components/integrations/gravatar.components.d.ts.map +1 -0
  53. package/dist/types/components/integrations/gravatar.functions.d.ts.map +1 -0
  54. package/dist/types/components/integrations/hubspot.components.d.ts.map +1 -0
  55. package/dist/types/components/integrations/instagram.components.d.ts.map +1 -0
  56. package/dist/types/components/{general → integrations}/instagram.functions.d.ts +1 -1
  57. package/dist/types/components/integrations/instagram.functions.d.ts.map +1 -0
  58. package/dist/types/components/integrations/socialcard.d.ts.map +1 -0
  59. package/dist/types/components/integrations/wordpress.components.d.ts.map +1 -0
  60. package/dist/types/components/integrations/wordpress.functions.d.ts.map +1 -0
  61. package/dist/types/components/integrations/yelp.d.ts.map +1 -0
  62. package/dist/types/components/sitebuilder/form/formutils.d.ts +1 -1
  63. package/dist/types/components/sitebuilder/form/formutils.d.ts.map +1 -1
  64. package/dist/types/components/sitebuilder/page/lib/pageStorageContentful.d.ts +1 -1
  65. package/dist/types/components/sitebuilder/page/lib/pageStorageContentful.d.ts.map +1 -1
  66. package/dist/types/index.adminserver.d.ts +1 -1
  67. package/dist/types/index.d.ts +21 -22
  68. package/dist/types/index.server.d.ts +10 -10
  69. package/dist/types/stories/general/contentful.item.stories.d.ts +1 -1
  70. package/dist/types/stories/general/contentful.item.stories.d.ts.map +1 -1
  71. package/dist/types/stories/general/contentful.items.stories.d.ts +1 -1
  72. package/dist/types/stories/general/contentful.items.stories.d.ts.map +1 -1
  73. package/dist/types/stories/general/google.reviews.stories.d.ts +1 -1
  74. package/dist/types/stories/general/google.reviews.stories.d.ts.map +1 -1
  75. package/dist/types/stories/general/googleanalytics.stories.d.ts +1 -1
  76. package/dist/types/stories/general/googleanalytics.stories.d.ts.map +1 -1
  77. package/dist/types/stories/general/googlesearch.stories.d.ts +1 -1
  78. package/dist/types/stories/general/googlesearch.stories.d.ts.map +1 -1
  79. package/dist/types/stories/general/gravatar.stories.d.ts +1 -1
  80. package/dist/types/stories/general/gravatar.stories.d.ts.map +1 -1
  81. package/dist/types/stories/general/instagram.stories.d.ts +1 -1
  82. package/dist/types/stories/general/instagram.stories.d.ts.map +1 -1
  83. package/dist/types/stories/general/socialcard.stories.d.ts +1 -1
  84. package/dist/types/stories/general/socialcard.stories.d.ts.map +1 -1
  85. package/dist/types/stories/general/wordpress.stories.d.ts +1 -1
  86. package/dist/types/stories/general/wordpress.stories.d.ts.map +1 -1
  87. package/dist/types/tests/utilities.test.d.ts +2 -0
  88. package/dist/types/tests/utilities.test.d.ts.map +1 -0
  89. package/package.json +14 -11
  90. package/dist/config/pixelated.config.json +0 -85
  91. package/dist/test/config.mock.js +0 -13
  92. package/dist/test/run-analyzeGitHealth.js +0 -50
  93. package/dist/test/setup.js +0 -46
  94. package/dist/test/test-utils.js +0 -23
  95. package/dist/types/components/general/calendly.d.ts.map +0 -1
  96. package/dist/types/components/general/cloudinary.d.ts.map +0 -1
  97. package/dist/types/components/general/contentful.delivery.d.ts.map +0 -1
  98. package/dist/types/components/general/contentful.items.components.d.ts.map +0 -1
  99. package/dist/types/components/general/contentful.management.d.ts.map +0 -1
  100. package/dist/types/components/general/flickr.d.ts.map +0 -1
  101. package/dist/types/components/general/google.reviews.components.d.ts.map +0 -1
  102. package/dist/types/components/general/google.reviews.functions.d.ts.map +0 -1
  103. package/dist/types/components/general/googleanalytics.d.ts.map +0 -1
  104. package/dist/types/components/general/googlemap.d.ts.map +0 -1
  105. package/dist/types/components/general/googlesearch.d.ts.map +0 -1
  106. package/dist/types/components/general/gravatar.components.d.ts.map +0 -1
  107. package/dist/types/components/general/gravatar.functions.d.ts.map +0 -1
  108. package/dist/types/components/general/hubspot.components.d.ts.map +0 -1
  109. package/dist/types/components/general/instagram.components.d.ts.map +0 -1
  110. package/dist/types/components/general/instagram.functions.d.ts.map +0 -1
  111. package/dist/types/components/general/socialcard.d.ts.map +0 -1
  112. package/dist/types/components/general/wordpress.components.d.ts.map +0 -1
  113. package/dist/types/components/general/wordpress.functions.d.ts.map +0 -1
  114. package/dist/types/components/general/yelp.d.ts.map +0 -1
  115. package/dist/types/components/utilities/functions.d.ts.map +0 -1
  116. package/dist/types/components/utilities/gemini-api.client.d.ts.map +0 -1
  117. package/dist/types/components/utilities/gemini-api.server.d.ts.map +0 -1
  118. package/dist/types/tests/functions.test.d.ts +0 -2
  119. package/dist/types/tests/functions.test.d.ts.map +0 -1
  120. /package/dist/components/{general → integrations}/calendly.js +0 -0
  121. /package/dist/components/{general → integrations}/cloudinary.js +0 -0
  122. /package/dist/components/{general → integrations}/contentful.delivery.js +0 -0
  123. /package/dist/components/{general → integrations}/contentful.items.css +0 -0
  124. /package/dist/components/{general → integrations}/contentful.management.js +0 -0
  125. /package/dist/components/{utilities → integrations}/gemini-api.client.js +0 -0
  126. /package/dist/components/{utilities → integrations}/gemini-api.server.js +0 -0
  127. /package/dist/components/{general → integrations}/google.reviews.css +0 -0
  128. /package/dist/components/{general → integrations}/google.reviews.functions.js +0 -0
  129. /package/dist/components/{general → integrations}/googleanalytics.js +0 -0
  130. /package/dist/components/{general → integrations}/googlemap.js +0 -0
  131. /package/dist/components/{general → integrations}/googlesearch.css +0 -0
  132. /package/dist/components/{general → integrations}/googlesearch.js +0 -0
  133. /package/dist/components/{general → integrations}/gravatar.components.js +0 -0
  134. /package/dist/components/{general → integrations}/gravatar.css +0 -0
  135. /package/dist/components/{general → integrations}/gravatar.functions.js +0 -0
  136. /package/dist/components/{general → integrations}/hubspot.components.js +0 -0
  137. /package/dist/components/{general → integrations}/instagram.functions.js +0 -0
  138. /package/dist/components/{general → integrations}/socialcard.css +0 -0
  139. /package/dist/components/{general → integrations}/wordpress.css +0 -0
  140. /package/dist/components/{general → integrations}/wordpress.functions.js +0 -0
  141. /package/dist/components/{general → integrations}/yelp.js +0 -0
  142. /package/dist/types/components/{general → integrations}/calendly.d.ts +0 -0
  143. /package/dist/types/components/{general → integrations}/cloudinary.d.ts +0 -0
  144. /package/dist/types/components/{general → integrations}/contentful.delivery.d.ts +0 -0
  145. /package/dist/types/components/{general → integrations}/contentful.items.components.d.ts +0 -0
  146. /package/dist/types/components/{general → integrations}/contentful.management.d.ts +0 -0
  147. /package/dist/types/components/{utilities → integrations}/gemini-api.client.d.ts +0 -0
  148. /package/dist/types/components/{utilities → integrations}/gemini-api.server.d.ts +0 -0
  149. /package/dist/types/components/{general → integrations}/google.reviews.components.d.ts +0 -0
  150. /package/dist/types/components/{general → integrations}/google.reviews.functions.d.ts +0 -0
  151. /package/dist/types/components/{general → integrations}/googleanalytics.d.ts +0 -0
  152. /package/dist/types/components/{general → integrations}/googlemap.d.ts +0 -0
  153. /package/dist/types/components/{general → integrations}/googlesearch.d.ts +0 -0
  154. /package/dist/types/components/{general → integrations}/gravatar.components.d.ts +0 -0
  155. /package/dist/types/components/{general → integrations}/gravatar.functions.d.ts +0 -0
  156. /package/dist/types/components/{general → integrations}/hubspot.components.d.ts +0 -0
  157. /package/dist/types/components/{general → integrations}/instagram.components.d.ts +0 -0
  158. /package/dist/types/components/{general → integrations}/socialcard.d.ts +0 -0
  159. /package/dist/types/components/{general → integrations}/wordpress.components.d.ts +0 -0
  160. /package/dist/types/components/{general → integrations}/wordpress.functions.d.ts +0 -0
  161. /package/dist/types/components/{general → integrations}/yelp.d.ts +0 -0
@@ -8,6 +8,36 @@ set -e # Exit on any error
8
8
  # Get project name from package.json
9
9
  PROJECT_NAME=$(node -p "require('./package.json').name" 2>/dev/null || echo "unknown-project")
10
10
 
11
+ # Initialize step counter
12
+ STEP_COUNT=1
13
+
14
+ # Function to get current version
15
+ get_current_version() {
16
+ node -p "require('./package.json').version"
17
+ }
18
+
19
+
20
+
21
+ echo ""
22
+ echo "================================================="
23
+ echo "🚀 Starting Release Process for $PROJECT_NAME"
24
+ echo "================================================="
25
+ echo ""
26
+ # Check if we're on dev branch
27
+ current_branch=$(git branch --show-current)
28
+ if [ "$current_branch" != "dev" ]; then
29
+ echo "❌ Error: Must be on dev branch to run this script"
30
+ echo "Current branch: $current_branch"
31
+ echo "Please switch to dev branch: git checkout dev"
32
+ exit 1
33
+ fi
34
+
35
+
36
+
37
+ # Select remote
38
+ echo ""
39
+ echo "🔑 Step $((STEP_COUNT++)): Locating GitHub token in config..."
40
+ echo "================================================="
11
41
  # Function to prompt for remote selection
12
42
  prompt_remote_selection() {
13
43
  echo "Available git remotes:" >&2
@@ -17,10 +47,8 @@ prompt_remote_selection() {
17
47
  echo "$i) $remote" >&2
18
48
  ((i++))
19
49
  done
20
-
21
50
  local choice
22
51
  read -p "Select remote to use (1-${#remotes[@]}): " choice >&2
23
-
24
52
  case $choice in
25
53
  [1-9]|[1-9][0-9])
26
54
  if [ "$choice" -le "${#remotes[@]}" ]; then
@@ -32,80 +60,57 @@ prompt_remote_selection() {
32
60
  *) echo "${remotes[0]}" ;; # Default to first remote
33
61
  esac
34
62
  }
35
-
36
- # Select remote
37
63
  REMOTE_NAME=$(prompt_remote_selection)
38
64
 
39
- echo ""
40
- echo "🚀 Starting Release Process for $PROJECT_NAME"
41
- echo "================================================="
42
- echo ""
43
65
 
44
- # Function to get current version
45
- get_current_version() {
46
- node -p "require('./package.json').version"
47
- }
48
66
 
49
- # Function to prompt for version bump type
50
- prompt_version_type() {
51
- echo "Current version: $(get_current_version)" >&2
52
- echo "Select version bump type:" >&2
53
- echo "1) patch (x.x.1)" >&2
54
- echo "2) minor (x.1.0)" >&2
55
- echo "3) major (1.x.x)" >&2
56
- echo "4) custom version" >&2
57
- echo "5) no version bump" >&2
58
- read -p "Enter choice (1-5): " choice >&2
59
- case $choice in
60
- 1) version_type="patch" ;;
61
- 2) version_type="minor" ;;
62
- 3) version_type="major" ;;
63
- 4)
64
- read -p "Enter custom version: " custom_version >&2
65
- version_type="$custom_version"
66
- ;;
67
- 5) version_type="none" ;;
68
- *) version_type="patch" ;; # default
69
- esac
70
- }
71
67
 
72
- # Function to prompt for commit message
73
- prompt_commit_message() {
74
- read -p "Enter commit message (or press enter for default): " commit_msg
75
- if [ -z "$commit_msg" ]; then
76
- echo "chore: release $(get_current_version)"
77
- else
78
- echo "$commit_msg"
68
+ # Attempt to source GITHUB token from pixelated config (without printing it)
69
+ # Looks in a few common locations; will decrypt if needed and possible
70
+ echo ""
71
+ echo "🔑 Step $((STEP_COUNT++)): Locating GitHub token in config..."
72
+ echo "================================================="
73
+ GITHUB_TOKEN_SOURCE=""
74
+ config_paths=("src/app/config/pixelated.config.json" "src/config/pixelated.config.json" "src/pixelated.config.json")
75
+ for cfg in "${config_paths[@]}"; do
76
+ if [ -f "$cfg" ]; then
77
+ token=$(node -e "try{const fs=require('fs');const p=process.argv[1];const d=JSON.parse(fs.readFileSync(p,'utf8'));const v=d.GITHUB_TOKEN||(d.github&&d.github.token)||d.github_token||(d.tokens&&d.tokens.github&&d.tokens.github.token); if(v) console.log(v)}catch(e){}" "$cfg" 2>/dev/null || true)
78
+ if [ -n "$token" ]; then
79
+ export GITHUB_TOKEN="$token"
80
+ GITHUB_TOKEN_SOURCE="$cfg"
81
+ echo "✅ GITHUB token loaded from $cfg"
82
+ break
83
+ fi
79
84
  fi
80
- }
81
-
82
- # Function to prompt for publishing
83
- prompt_publish() {
84
- read -p "Do you want to publish to npm? (y/n): " should_publish
85
- if [ "$should_publish" = "y" ] || [ "$should_publish" = "Y" ]; then
86
- echo "yes"
85
+ done
86
+ # If not found and we have config:decrypt available and a key, try to decrypt temporarily
87
+ if [ -z "$GITHUB_TOKEN" ] && grep -q "\"config:decrypt\":" package.json 2>/dev/null; then
88
+ if [ -z "$PIXELATED_CONFIG_KEY" ]; then
89
+ echo "⚠️ PIXELATED_CONFIG_KEY not set; cannot decrypt config to find token"
87
90
  else
88
- echo "no"
91
+ echo "🔓 Decrypting config to locate GitHub token..."
92
+ if npm run config:decrypt; then
93
+ for cfg in "${config_paths[@]}"; do
94
+ if [ -f "$cfg" ]; then
95
+ token=$(node -e "try{const fs=require('fs');const p=process.argv[1];const d=JSON.parse(fs.readFileSync(p,'utf8'));const v=d.GITHUB_TOKEN||(d.github&&d.github.token)||d.github_token||(d.tokens&&d.tokens.github&&d.tokens.github.token); if(v) console.log(v)}catch(e){}" "$cfg" 2>/dev/null || true)
96
+ if [ -n "$token" ]; then
97
+ export GITHUB_TOKEN="$token"
98
+ GITHUB_TOKEN_SOURCE="$cfg"
99
+ echo "✅ GITHUB token loaded from $cfg after decrypt"
100
+ break
101
+ fi
102
+ fi
103
+ done
104
+ else
105
+ echo "❌ config:decrypt failed; cannot load GitHub token"
106
+ fi
89
107
  fi
90
- }
108
+ fi
91
109
 
92
- # Function to prompt for OTP
93
- prompt_otp() {
94
- read -p "Enter npm OTP: " otp
95
- echo "$otp"
96
- }
97
110
 
98
- # Check if we're on dev branch
99
- current_branch=$(git branch --show-current)
100
- if [ "$current_branch" != "dev" ]; then
101
- echo "❌ Error: Must be on dev branch to run this script"
102
- echo "Current branch: $current_branch"
103
- echo "Please switch to dev branch: git checkout dev"
104
- exit 1
105
- fi
106
111
 
107
112
  echo ""
108
- echo "📦 Step 1: Updating dependencies..."
113
+ echo "📦 Step $((STEP_COUNT++)): Updating dependencies..."
109
114
  echo "================================================="
110
115
  UPDATES=$(npm outdated | awk 'NR>1 {print $1"@"$4}' || true)
111
116
  if [ -n "$UPDATES" ]; then
@@ -117,19 +122,88 @@ else
117
122
  fi
118
123
  npm audit fix --force 2>/dev/null || true
119
124
 
125
+
126
+
120
127
  echo ""
121
- echo "🔍 Step 2: Running lint..."
128
+ echo "🔍 Step $((STEP_COUNT++)): Running lint..."
122
129
  echo "================================================="
123
130
  npm run lint
124
131
 
132
+
133
+
134
+ echo ""
135
+ echo "🔨 Step $((STEP_COUNT++)): Encrypting configuration..."
136
+ echo "================================================="
137
+ if grep -q "\"config:encrypt\":" package.json; then
138
+ echo "🔒 Encrypting configuration..."
139
+ npm run config:encrypt
140
+ echo "✅ Encrypted configuration successfully."
141
+ else
142
+ echo "❌ Encryption failed. Please add config:encrypt script to package.json."
143
+ exit 1
144
+ fi
145
+
146
+
147
+
125
148
  echo ""
126
- echo "🔨 Step 3: Building project..."
149
+ echo "🔨 Step $((STEP_COUNT++)): Building project..."
127
150
  echo "================================================="
128
151
  npm run build
129
152
 
153
+ # Post-build: if a dist folder exists, ensure it does NOT contain plaintext config and that the .enc file is present
154
+ echo ""
155
+ echo "🔧 Step $((STEP_COUNT++)): Post-build config check: cleaning dist and verifying .enc..."
156
+ echo "================================================="
157
+ DIST_DIR="dist"
158
+ PLAIN_DIST_CFG="$DIST_DIR/config/pixelated.config.json"
159
+ ENC_DIST_CFG="$DIST_DIR/config/pixelated.config.json.enc"
160
+
161
+ if [ -d "$DIST_DIR" ]; then
162
+ if [ -f "$PLAIN_DIST_CFG" ]; then
163
+ echo "⚠️ Found plaintext config in dist at $PLAIN_DIST_CFG — removing it to avoid accidental publish."
164
+ rm -f "$PLAIN_DIST_CFG"
165
+ echo "✅ Removed $PLAIN_DIST_CFG"
166
+ else
167
+ echo "ℹ️ No plaintext config found in dist."
168
+ fi
169
+
170
+ if [ -f "$ENC_DIST_CFG" ]; then
171
+ echo "✅ Found encrypted config at $ENC_DIST_CFG"
172
+ else
173
+ echo "❌ Missing encrypted config in dist: $ENC_DIST_CFG. Aborting release."
174
+ exit 1
175
+ fi
176
+ else
177
+ echo "ℹ️ No dist directory found; skipping dist cleanup/verification."
178
+ fi
179
+
180
+
181
+
130
182
  echo ""
131
- echo "🏷️ Step 4: Version bump..."
183
+ echo "🏷️ Step $((STEP_COUNT++)): Version bump..."
132
184
  echo "================================================="
185
+ # Function to prompt for version bump type
186
+ prompt_version_type() {
187
+ echo "Current version: $(get_current_version)" >&2
188
+ echo "Select version bump type:" >&2
189
+ echo "1) patch (x.x.1)" >&2
190
+ echo "2) minor (x.1.0)" >&2
191
+ echo "3) major (1.x.x)" >&2
192
+ echo "4) custom version" >&2
193
+ echo "5) no version bump" >&2
194
+ read -p "Enter choice (1-5): " choice >&2
195
+ case $choice in
196
+ 1) version_type="patch" ;;
197
+ 2) version_type="minor" ;;
198
+ 3) version_type="major" ;;
199
+ 4)
200
+ read -p "Enter custom version: " custom_version >&2
201
+ version_type="$custom_version"
202
+ ;;
203
+ 5) version_type="none" ;;
204
+ *) version_type="patch" ;; # default
205
+ esac
206
+ }
133
207
  prompt_version_type
134
208
  if [ "$version_type" != "none" ]; then
135
209
  if [ "$version_type" = "patch" ] || [ "$version_type" = "minor" ] || [ "$version_type" = "major" ]; then
@@ -140,13 +214,20 @@ if [ "$version_type" != "none" ]; then
140
214
  fi
141
215
  fi
142
216
 
217
+
218
+
143
219
  echo ""
144
- echo "💾 Step 5: Committing changes..."
220
+ echo "💾 Step $((STEP_COUNT++)): Committing changes..."
145
221
  echo "================================================="
146
- if grep -q "\"config:encrypt\":" package.json; then
147
- echo "🔒 Encrypting configuration..."
148
- npm run config:encrypt
149
- fi
222
+ # Function to prompt for commit message
223
+ prompt_commit_message() {
224
+ read -p "Enter commit message (or press enter for default): " commit_msg
225
+ if [ -z "$commit_msg" ]; then
226
+ echo "chore: release $(get_current_version)"
227
+ else
228
+ echo "$commit_msg"
229
+ fi
230
+ }
150
231
  commit_message=$(prompt_commit_message)
151
232
  git add . -v
152
233
  if git diff --cached --quiet; then
@@ -155,8 +236,10 @@ else
155
236
  git commit -m "$commit_message"
156
237
  fi
157
238
 
239
+
240
+
158
241
  echo ""
159
- echo "📤 Step 6: Pushing dev branch..."
242
+ echo "📤 Step $((STEP_COUNT++)): Pushing dev branch..."
160
243
  echo "================================================="
161
244
  # Try to push, if it fails due to remote changes, fetch and rebase
162
245
  if ! git push $REMOTE_NAME dev; then
@@ -174,8 +257,10 @@ if ! git push $REMOTE_NAME dev; then
174
257
  fi
175
258
  fi
176
259
 
260
+
261
+
177
262
  echo ""
178
- echo "🔄 Step 7: Updating main branch..."
263
+ echo "🔄 Step $((STEP_COUNT++)): Updating main branch..."
179
264
  echo "================================================="
180
265
  # Force main to match dev exactly
181
266
  git push $REMOTE_NAME dev:main --force
@@ -189,44 +274,126 @@ if git show-ref --verify --quiet refs/heads/main; then
189
274
  git checkout dev
190
275
  fi
191
276
 
277
+
278
+
192
279
  echo ""
193
- echo "🏷️ Step 8: Creating and pushing git tag..."
280
+ echo "🏷️ Step $((STEP_COUNT++)): Creating and pushing git tag and release..."
194
281
  echo "================================================="
195
282
  new_version=$(get_current_version)
196
- if ! git tag -l | grep -q "v$new_version"; then
197
- git tag "v$new_version"
198
- git push $REMOTE_NAME "v$new_version"
283
+ release_tag="v${new_version}"
284
+ # Use commit message as tag/release message when available, otherwise default
285
+ tag_message="${commit_message:-"Release $release_tag"}"
286
+ if ! git tag -l | grep -q "$release_tag"; then
287
+ echo "🔖 Creating annotated tag $release_tag"
288
+ git tag -a "$release_tag" -m "$tag_message"
289
+ git push $REMOTE_NAME "$release_tag"
199
290
  else
200
- echo "ℹ️ Tag v$new_version already exists"
291
+ echo "ℹ️ Tag $release_tag already exists"
201
292
  fi
202
293
 
203
- if grep -q "\"config:decrypt\":" package.json; then
204
- echo "🔓 Decrypting configuration for local development..."
205
- npm run config:decrypt
294
+
295
+
296
+ # Create a published GitHub release for this tag (prefer gh CLI, fallback to API)
297
+ echo ""
298
+ echo "📣 Step $((STEP_COUNT++)): Creating GitHub release..."
299
+ echo "================================================="
300
+ REMOTE_URL=$(git remote get-url $REMOTE_NAME 2>/dev/null || true)
301
+
302
+ # Use GitHub API only (no gh CLI). Ensure GITHUB_TOKEN is present
303
+ if [ -z "$GITHUB_TOKEN" ]; then
304
+ echo "⚠️ GITHUB_TOKEN not set; skipping GitHub release creation via API"
305
+ else
306
+ # Derive owner/repo from remote URL using shell-only parsing (robust across platforms)
307
+ repo_path="${REMOTE_URL#git@github.com:}"
308
+ repo_path="${repo_path#https://github.com/}"
309
+ repo_path="${repo_path%.git}"
310
+ repo_path="${repo_path%%/}"
311
+ if [ -z "$repo_path" ]; then
312
+ echo "⚠️ Unable to determine repo path from remote URL; skipping API-based release creation"
313
+ else
314
+ # Check if release exists
315
+ # Diagnostic: show remote and derived repo path (non-secret)
316
+ echo "Remote URL: $REMOTE_URL"
317
+ echo "Derived repo_path: $repo_path"
318
+ echo "Remote URL: $REMOTE_URL"
319
+ echo "Derived repo_path: $repo_path"
320
+
321
+ # Quick access check to see if token and repo path are valid
322
+ access_resp=$(curl -s -H "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/$repo_path")
323
+ if echo "$access_resp" | grep -q '"full_name"'; then
324
+ echo "✅ Repo accessible via API: $(echo "$access_resp" | sed -n 's/.*"full_name"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p')"
325
+ else
326
+ echo "❌ Repo not accessible via API. GitHub API response: $access_resp"
327
+ echo "Make sure GITHUB_TOKEN has 'repo' scope and the repo path is correct; aborting release creation."
328
+ # Do not attempt to create a release if the repo isn't accessible
329
+ exit 1
330
+ fi
331
+
332
+ if curl -s -H "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/$repo_path/releases/tags/$release_tag" | grep -q '"tag_name"'; then
333
+ echo "ℹ️ Release for $release_tag already exists on GitHub (API)."
334
+ else
335
+ echo "🔔 Creating release via GitHub API for $release_tag"
336
+ payload=$(printf '{"tag_name":"%s","name":"%s","body":"%s","draft":false,"prerelease":false}' "$release_tag" "$release_tag" "${tag_message//\"/\\\"}")
337
+ resp=$(curl -s -X POST -H "Authorization: token $GITHUB_TOKEN" -H "Content-Type: application/json" -d "$payload" "https://api.github.com/repos/$repo_path/releases")
338
+ if echo "$resp" | grep -q '"id"'; then
339
+ echo "✅ Created GitHub release $release_tag"
340
+ else
341
+ echo "❌ Failed to create GitHub release: $resp"
342
+ fi
343
+ fi
344
+ fi
206
345
  fi
207
346
 
347
+
348
+
208
349
  echo ""
209
- echo "🔐 Step 9: Publishing to npm..."
350
+ echo "🔐 Step $((STEP_COUNT++)): Publishing to npm..."
210
351
  echo "================================================="
352
+ # Function to prompt for publishing
353
+ prompt_publish() {
354
+ read -p "Do you want to publish to npm? (y/n): " should_publish
355
+ if [ "$should_publish" = "y" ] || [ "$should_publish" = "Y" ]; then
356
+ echo "yes"
357
+ else
358
+ echo "no"
359
+ fi
360
+ }
361
+ # Function to prompt for OTP
362
+ prompt_otp() {
363
+ read -p "Enter npm OTP: " otp
364
+ echo "$otp"
365
+ }
211
366
  should_publish=$(prompt_publish)
212
367
  if [ "$should_publish" = "yes" ]; then
213
368
  npm login
214
369
  otp=$(prompt_otp)
215
- npm publish --access public --otp=$otp
370
+ npm publish --loglevel warn --access public --otp=$otp
216
371
  echo "✅ Successfully published to npm!"
217
372
  else
218
373
  echo "ℹ️ Skipping npm publish"
219
374
  echo "You can publish manually with: npm publish --access public"
220
375
  fi
221
376
 
377
+
378
+
379
+ if grep -q "\"config:decrypt\":" package.json; then
380
+ echo ""
381
+ echo "🔓 Step $((STEP_COUNT++)): Decrypting configuration for local development..."
382
+ echo "================================================="
383
+ npm run config:decrypt
384
+ fi
385
+
386
+
387
+
222
388
  echo ""
223
389
  echo ""
224
390
  echo "================================================="
225
391
  echo "✅ Release complete!"
392
+ echo "================================================="
226
393
  echo "📦 Version: $(get_current_version)"
227
394
  echo "📋 Branches updated: dev, main"
228
395
  echo "🏷️ Tag created: v$(get_current_version)"
229
396
 
230
397
  if [ "$should_publish" = "yes" ]; then
231
398
  echo "🔗 https://www.npmjs.com/package/$PROJECT_NAME"
232
- fi
399
+ fi
@@ -1,6 +1,6 @@
1
1
  import fs from 'fs';
2
2
  import glob from 'glob';
3
- import { CLIENT_ONLY_PATTERNS, TS_FILE_IGNORE_PATTERNS, TSX_FILE_IGNORE_PATTERNS, SERVER_ONLY_PATTERNS } from '../components/utilities/functions.js';
3
+ import { CLIENT_ONLY_PATTERNS, TS_FILE_IGNORE_PATTERNS, TSX_FILE_IGNORE_PATTERNS, SERVER_ONLY_PATTERNS } from '../components/general/utilities.js';
4
4
 
5
5
  console.log('🔍 Validating exports...\n');
6
6
 
@@ -1,6 +1,6 @@
1
1
  import fs from 'fs';
2
2
  import glob from 'glob';
3
- import { CLIENT_ONLY_PATTERNS, TS_FILE_IGNORE_PATTERNS, TSX_FILE_IGNORE_PATTERNS, SERVER_ONLY_PATTERNS } from '../components/utilities/functions.ts';
3
+ import { CLIENT_ONLY_PATTERNS, TS_FILE_IGNORE_PATTERNS, TSX_FILE_IGNORE_PATTERNS, SERVER_ONLY_PATTERNS } from '../components/general/utilities.js';
4
4
 
5
5
  console.log('🔍 Validating exports...\n');
6
6
 
@@ -1 +1 @@
1
- {"version":3,"file":"site-health-uptime.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-uptime.integration.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CA8BzF"}
1
+ {"version":3,"file":"site-health-uptime.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-uptime.integration.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CA+CzF"}
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,gBAAgB,CAAC;AAO1E;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,eAAe,CAuDxD;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,eAAe,CAIpF"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,gBAAgB,CAAC;AAO1E;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,eAAe,CA0DxD;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,eAAe,CAIpF"}
@@ -1,4 +1,4 @@
1
- import type { BlogPostType } from '../general/wordpress.functions';
1
+ import type { BlogPostType } from '../integrations/wordpress.functions';
2
2
  export interface BlogPostingSchema {
3
3
  '@context': string;
4
4
  '@type': string;
@@ -1 +1 @@
1
- {"version":3,"file":"schema-blogposting.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-blogposting.functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAGnE,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACb,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CACxC,IAAI,EAAE,YAAY,EAClB,kBAAkB,GAAE,OAAe,GACjC,iBAAiB,CAyCnB"}
1
+ {"version":3,"file":"schema-blogposting.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-blogposting.functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGxE,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE;QACR,OA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uB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,SAA4B,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAgC3H;AAKD,wBAAsB,mBAAmB,CAAC,KAAK,EAAE;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAC;;;;;;iBA0Mq8G,CAAC;;;;KA3L7hH;AAcD,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAsB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB;;;;;;iBA4Km9G,CAAC;;;;KArJ7hH;yBAvBqB,oBAAoB;;;;;;;;;;;AAoC1C,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,OAAO,+BAA+B,CAAC,SAAS,CAAC,CAAC;AAC/G,wBAAsB,+BAA+B,CAAC,KAAK,EAAE,mCAAmC;;;;;;iBAuI67G,CAAC;;;;KAvH7hH;yBAhBqB,+BAA+B;;;;;;;;;;;AAgCrD,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,SAAS,CAAC,CAAC;AACnG,wBAAsB,yBAAyB,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CA0B7G;yBA1BqB,yBAAyB;;;;;;;;;;;;AA8B/C,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM;;;;;;iBAwEs+G,CAAC;;;;KAxC7hH;AAgCD,wBAAgB,qBAAqB,SAEpC"}
@@ -2,7 +2,6 @@ export declare function html2dom(str: string): ChildNode | null;
2
2
  export declare function mergeDeep(a: any, b: any): {
3
3
  [key: string]: any;
4
4
  };
5
- export declare function pushNewValueToStateArray(that: any, oldState: any, newValue: any): void;
6
5
  export declare function randomBetween(min: number, max: number): number;
7
6
  export declare function generateKey(): string;
8
7
  export declare function generateUUID(): string;
@@ -34,4 +33,4 @@ export declare const TSX_FILE_IGNORE_PATTERNS: string[];
34
33
  * Regex patterns that identify server-only code that should not run on client
35
34
  */
36
35
  export declare const SERVER_ONLY_PATTERNS: RegExp[];
37
- //# sourceMappingURL=functions.d.ts.map
36
+ //# sourceMappingURL=utilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../../src/components/general/utilities.ts"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,CAAE,GAAG,EAAE,MAAM,oBAUpC;AAGD,wBAAgB,SAAS,CAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG;;EAmBxC;AAED,wBAAgB,aAAa,CAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAOtD;AAED,wBAAgB,WAAW,WAc1B;AAED,wBAAgB,YAAY,WAK3B;AAED,wBAAgB,UAAU,CAAE,GAAG,EAAE,MAAM,UAEtC;AAQD,wBAAgB,YAAY,CAAE,YAAY,EAAE,MAAM,UAgCjD;AAID;;;;OAII;AACJ,wBAAgB,YAAY,SAoB3B;AAKD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,UA0BhC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAE9D;AAGD;;GAEG;AACH,eAAO,MAAM,uBAAuB,UAQnC,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAOpC,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,oBAAoB,UAoBhC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendly.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/calendly.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAOnD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC;AACjE,wBAAgB,QAAQ,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,YAAY,2CAmB5D;yBAnBe,QAAQ"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudinary.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/cloudinary.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAiBnD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAAE,UA0CxM;AAQD,MAAM,MAAM,+BAA+B,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,SAAS,CAAC,CAAC;AACvG,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,+BAA+B,UAKjF;yBALe,2BAA2B;;;;;;AAQ3C,wBAAgB,YAAY,YAO3B;AAOD,MAAM,MAAM,+BAA+B,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,SAAS,CAAC,CAAC;AACvG,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,+BAA+B,QAqBjF;yBArBe,2BAA2B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentful.delivery.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/contentful.delivery.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAMnD,MAAM,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,qB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AAC;AACjG,wBAAsB,wBAAwB,CAAC,KAAK,EAAE,4BAA4B,qBASjF;yBATqB,wBAAwB;;;;;;;;;;;;;AAkB9C,MAAM,MAAM,kCAAkC,GAAG,UAAU,CAAC,OAAO,8BAA8B,CAAC,SAAS,CAAC,CAAC;AAC7G,wBAAsB,8BAA8B,CAAC,KAAK,EAAE,kCAAkC;;;KAa7F;yBAbqB,8BAA8B;;;;;;AA4BpD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAsB,mBAAmB,CAAC,KAAK,EAAE,uBAAuB,gBAOvE;yBAPqB,mBAAmB;;;;;;;;;;;AAuBzC,MAAM,MAAM,0BAA0B,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,SAAS,CAAC,CAAC;AAC7F,wBAAsB,sBAAsB,CAAC,KAAK,EAAE,0BAA0B;;;KAW7E;yBAXqB,sBAAsB;;;;;;;;;;;AA0B5C,MAAM,MAAM,8BAA8B,GAAG,UAAU,CAAC,OAAO,0BAA0B,CAAC,SAAS,CAAC,CAAC;AACrG,wBAAsB,0BAA0B,CAAC,KAAK,EAAE,8BAA8B,gBA4BrF;yBA5BqB,0BAA0B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentful.items.components.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/contentful.items.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAWnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,wBAAwB,CAAC;AAsBhC,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAiGzD;yBAjGe,eAAe;;;;;;AA6G/B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,sBAAsB,2CA8D/D;yBA9De,kBAAkB;;;;;;AA2ElC,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,2CASnE;yBATe,oBAAoB;;;;;;;AAsBpC,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,2CAwInE;yBAxIe,oBAAoB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentful.management.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/contentful.management.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,gBAAgB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC/B,GAAG,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,MAAM,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG;YACd,OAAO,EAAE,GAAG,CAAC;SACb,CAAC;KACF,CAAC;CACF;AAED,MAAM,WAAW,mBAAmB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB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AE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE;QACH,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,wBAAsB,6BAA6B,CAAC,WAAW,EAAE,qBAAqB,GAAG,OAAO,CAAC;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAqBnI;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,WAAW,EAAE,qBAAqB,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAoDhG;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,iBAAiB,EAAE,qBAAqB,EACxC,eAAe,EAAE,qBAAqB,EACtC,aAAa,EAAE,MAAM,GACnB,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CA6C/C"}
@@ -1,5 +1,5 @@
1
1
  import PropTypes, { InferProps } from 'prop-types';
2
- import type { CarouselCardType } from './carousel';
2
+ import type { CarouselCardType } from '../general/carousel';
3
3
  export type GetFlickrDataType = InferProps<typeof GetFlickrData.propTypes>;
4
4
  export declare function GetFlickrData(props: GetFlickrDataType): Promise<any>;
5
5
  export declare namespace GetFlickrData {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flickr.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/flickr.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAsE5D,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAE,KAAK,EAAE,iBAAiB,gBA2DtD;yBA3De,aAAa;;;;;;AAmE7B,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,uBAAuB;;;;;;;gBAejE;yBAfe,mBAAmB;;;;;;AA8BnC,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAE,KAAK,EAAE,iBAAiB,2CA0CtD;yBA1Ce,aAAa"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gemini-api.client.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/gemini-api.client.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAM9E,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,4BAA4B,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,gBAAgB;IAC5B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;gBAEZ,MAAM,EAAE,MAAM,EAAE,OAAO,SAA8C;IAKjF;;KAEI;IACE,4BAA4B,CAAC,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAqCpG;;KAEI;IACE,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC;CAqBhC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAEvE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gemini-api.server.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/gemini-api.server.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAM9E,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA+ID;;GAEG;AACH,wBAAsB,yBAAyB,CAC9C,OAAO,EAAE,2BAA2B,EACpC,MAAM,EAAE,MAAM,GACZ,OAAO,CAAC,4BAA4B,CAAC,CA2DvC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google.reviews.components.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/google.reviews.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,sBAAsB,CAAC;AAU9B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAqG7D;yBArGe,iBAAiB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google.reviews.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/google.reviews.functions.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,wBAAsB,yBAAyB,CAAC,MAAM,EAAE;IACvD,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CACf,GAAG,OAAO,CAAC;IAAE,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAAC,OAAO,EAAE,YAAY,EAAE,CAAA;CAAE,CAAC,CAuBnE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"googleanalytics.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/googleanalytics.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAanD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;KAChC;CACD;AAgBD,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAE,KAAK,EAAE,mBAAmB,uDAsC1D;yBAtCe,eAAe;;;;;AA2C/B,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAE,KAAK,EAAE,wBAAwB,oBAYpE;yBAZe,oBAAoB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"googlemap.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/googlemap.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAgBnD,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAkB/C;yBAlBe,UAAU"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"googlesearch.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/googlesearch.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,oBAAoB,CAAC;AAuB5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAenD;yBAfe,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gravatar.components.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/gravatar.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,gBAAgB,CAAC;AAwFxB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAoInD;yBApIe,YAAY"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gravatar.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/gravatar.functions.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,eAAe,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,eAAe,EAAE,CAAC;CACzB,CAAC;AAWF;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CACnC,KAAK,EAAE,MAAM,EACb,IAAI,SAAM,EACV,YAAY,GAAE,KAAK,GAAG,IAAI,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,OAAc,GAC3F,MAAM,CAGR;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,CAevF;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAErG"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hubspot.components.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/hubspot.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAMnD,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,QAUvE;AASD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,wBAAgB,WAAW,CAAC,EAC3B,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,WAAsC,EACxE,EAAE,eAAe,2CA+BjB;yBAjCe,WAAW;;;;;;;;;AAyC3B,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,uBAAuB,2CAQjE;yBARe,mBAAmB;;;;;AAmBnC,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,SAAS,CAAC,CAAC;AACnG,wBAAsB,yBAAyB,CAAC,KAAK,EAAE,6BAA6B,gBAmBnF;yBAnBqB,yBAAyB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instagram.components.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/instagram.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAenD,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CAyDvD;yBAzDe,cAAc"}
@@ -1,4 +1,4 @@
1
- import type { CarouselCardType } from './carousel';
1
+ import type { CarouselCardType } from '../general/carousel';
2
2
  export type InstagramMedia = {
3
3
  id: string;
4
4
  media_type: 'IMAGE' | 'VIDEO' | 'CAROUSEL_ALBUM';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instagram.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/instagram.functions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAAC;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE;QACR,OAAO,CAAC,EAAE;YACT,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,MAAM,CAAC;SACd,CAAC;QACF,IAAI,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;CACF,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAe5B;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACpC,KAAK,EAAE,cAAc,EAAE,EACvB,OAAO,CAAC,EAAE;IACT,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B,GACC,gBAAgB,EAAE,CAyBpB;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,CAAC,EAAE;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAK9B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socialcard.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/socialcard.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,kBAAkB,CAAC;AAiC1B,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,qDAgOjD;yBAhOe,WAAW;;;;;AAuO3B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAqB/C;yBArBe,UAAU;;;;;;;AAyB1B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,wBAAgB,kBAAkB,4CAMjC;yBANe,kBAAkB"}