Completed
Push — master ( feb49b...2e7061 )
by Stephanie
06:17 queued 03:03
created

FrmEntriesHelper::prepare_field_default_value()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 14

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
nc 2
nop 1
dl 0
loc 14
rs 9.7998
c 0
b 0
f 0
1
<?php
2
if ( ! defined( 'ABSPATH' ) ) {
3
	die( 'You are not allowed to call this page directly.' );
4
}
5
6
class FrmEntriesHelper {
7
8
	public static function setup_new_vars( $fields, $form = '', $reset = false, $args = array() ) {
9
		$values = array(
10
			'name'        => '',
11
			'description' => '',
12
			'item_key'    => '',
13
		);
14
15
		$values['fields'] = array();
16
		if ( empty( $fields ) ) {
17
			return apply_filters( 'frm_setup_new_entry', $values );
18
		}
19
20
		foreach ( (array) $fields as $field ) {
21
			$original_default = $field->default_value;
22
			self::prepare_field_default_value( $field );
23
			$new_value = self::get_field_value_for_new_entry( $field, $reset, $args );
24
25
			$field_array                     = FrmAppHelper::start_field_array( $field );
26
			$field_array['value']            = $new_value;
27
			$field_array['type']             = apply_filters( 'frm_field_type', $field->type, $field, $new_value );
28
			$field_array['parent_form_id']   = isset( $args['parent_form_id'] ) ? $args['parent_form_id'] : $field->form_id;
29
			$field_array['reset_value']      = $reset;
30
			$field_array['in_embed_form']    = isset( $args['in_embed_form'] ) ? $args['in_embed_form'] : '0';
31
			$field_array['original_default'] = $original_default;
32
33
			FrmFieldsHelper::prepare_new_front_field( $field_array, $field, $args );
34
35
			$field_array = array_merge( $field->field_options, $field_array );
36
37
			$values['fields'][] = $field_array;
38
39
			if ( ! $form || ! isset( $form->id ) ) {
40
				$form = FrmForm::getOne( $field->form_id );
41
			}
42
		}
43
44
		$form->options = maybe_unserialize( $form->options );
45
		if ( is_array( $form->options ) ) {
46
			$values = array_merge( $values, $form->options );
47
		}
48
49
		$form_defaults = FrmFormsHelper::get_default_opts();
50
		$frm_settings  = FrmAppHelper::get_settings();
51
52
		$form_defaults['custom_style'] = ( $frm_settings->load_style != 'none' );
53
54
		$values = array_merge( $form_defaults, $values );
55
56
		return apply_filters( 'frm_setup_new_entry', $values );
57
	}
58
59
	/**
60
	 * @since 2.05
61
	 *
62
	 * @param object $field
63
	 */
64
	private static function prepare_field_default_value( &$field ) {
65
		//If checkbox, multi-select dropdown, or checkbox data from entries field, the value should be an array
66
		$return_array = FrmField::is_field_with_multiple_values( $field );
67
68
		/**
69
		 * Do any shortcodes in default value and allow customization of default value.
70
		 * Calls FrmProFieldsHelper::get_default_value
71
		 */
72
		$field->default_value = apply_filters( 'frm_get_default_value', $field->default_value, $field, true, $return_array );
73
74
		if ( isset( $field->field_options['placeholder'] ) ) {
75
			$field->field_options['placeholder'] = apply_filters( 'frm_get_default_value', $field->field_options['placeholder'], $field, false, false );
76
		}
77
	}
78
79
	/**
80
	 * Set the value for each field
81
	 * This function is used when the form is first loaded and on all page turns *for a new entry*
82
	 *
83
	 * @since 2.0.13
84
	 *
85
	 * @param object $field - this is passed by reference since it is an object
86
	 * @param boolean $reset
87
	 * @param array $args
88
	 *
89
	 * @return string|array $new_value
90
	 */
91
	private static function get_field_value_for_new_entry( $field, $reset, $args ) {
92
		$new_value = $field->default_value;
93
94
		if ( ! $reset && self::value_is_posted( $field, $args ) ) {
95
			self::get_posted_value( $field, $new_value, $args );
96
		}
97
98
		if ( ! is_array( $new_value ) ) {
99
			$new_value = str_replace( '"', '&quot;', $new_value );
100
		}
101
102
		return $new_value;
103
	}
104
105
	/**
106
	 * Check if a field has a posted value
107
	 *
108
	 * @since 2.01.0
109
	 *
110
	 * @param object $field
111
	 * @param array $args
112
	 *
113
	 * @return boolean $value_is_posted
114
	 */
115
	public static function value_is_posted( $field, $args ) {
116
		$value_is_posted = false;
117
		if ( $_POST ) {
118
			$repeating = isset( $args['repeating'] ) && $args['repeating'];
119
			if ( $repeating ) {
120
				if ( isset( $_POST['item_meta'][ $args['parent_field_id'] ][ $args['key_pointer'] ][ $field->id ] ) ) {
121
					$value_is_posted = true;
122
				}
123
			} elseif ( isset( $_POST['item_meta'][ $field->id ] ) ) {
124
				$value_is_posted = true;
125
			}
126
		}
127
128
		return $value_is_posted;
129
	}
130
131
	public static function setup_edit_vars( $values, $record ) {
132
		$values['item_key'] = FrmAppHelper::get_post_param( 'item_key', $record->item_key, 'sanitize_title' );
133
		$values['form_id']  = $record->form_id;
134
		$values['is_draft'] = $record->is_draft;
135
136
		return apply_filters( 'frm_setup_edit_entry_vars', $values, $record );
137
	}
138
139
	public static function replace_default_message( $message, $atts ) {
140
		if ( strpos( $message, '[default-message' ) === false &&
141
			strpos( $message, '[default_message' ) === false &&
142
			! empty( $message ) ) {
143
			return $message;
144
		}
145
146
		if ( empty( $message ) ) {
147
			$message = '[default-message]';
148
		}
149
150
		preg_match_all( "/\[(default-message|default_message)\b(.*?)(?:(\/))?\]/s", $message, $shortcodes, PREG_PATTERN_ORDER );
151
152
		foreach ( $shortcodes[0] as $short_key => $tag ) {
153
			$add_atts = FrmShortcodeHelper::get_shortcode_attribute_array( $shortcodes[2][ $short_key ] );
154
			if ( ! empty( $add_atts ) ) {
155
				$this_atts = array_merge( $atts, $add_atts );
156
			} else {
157
				$this_atts = $atts;
158
			}
159
160
			$default = FrmEntriesController::show_entry_shortcode( $this_atts );
161
162
			// Add the default message.
163
			$message = str_replace( $shortcodes[0][ $short_key ], $default, $message );
164
		}
165
166
		return $message;
167
	}
168
169
	public static function prepare_display_value( $entry, $field, $atts ) {
170
		$field_value = isset( $entry->metas[ $field->id ] ) ? $entry->metas[ $field->id ] : false;
171
172
		if ( FrmAppHelper::pro_is_installed() ) {
173
			FrmProEntriesHelper::get_dynamic_list_values( $field, $entry, $field_value );
174
		}
175
176
		if ( $field->form_id == $entry->form_id || empty( $atts['embedded_field_id'] ) ) {
177
			return self::display_value( $field_value, $field, $atts );
178
		}
179
180
		// This is an embeded form.
181
		$val = '';
182
183
		if ( strpos( $atts['embedded_field_id'], 'form' ) === 0 ) {
184
			// This is a repeating section.
185
			$child_entries = FrmEntry::getAll( array( 'it.parent_item_id' => $entry->id ) );
186
		} else {
187
			// Get all values for this field.
188
			$child_values = isset( $entry->metas[ $atts['embedded_field_id'] ] ) ? $entry->metas[ $atts['embedded_field_id'] ] : false;
189
190
			if ( $child_values ) {
191
				$child_entries = FrmEntry::getAll( array( 'it.id' => (array) $child_values ) );
192
			}
193
		}
194
195
		$field_value = array();
196
197
		if ( ! isset( $child_entries ) || ! $child_entries || ! FrmAppHelper::pro_is_installed() ) {
198
			return $val;
199
		}
200
201
		foreach ( $child_entries as $child_entry ) {
202
			$atts['item_id'] = $child_entry->id;
203
			$atts['post_id'] = $child_entry->post_id;
204
205
			// Fet the value for this field -- check for post values as well.
206
			$entry_val = FrmProEntryMetaHelper::get_post_or_meta_value( $child_entry, $field );
207
208
			if ( $entry_val ) {
209
				// foreach entry get display_value.
210
				$field_value[] = self::display_value( $entry_val, $field, $atts );
211
			}
212
213
			unset( $child_entry );
214
		}
215
216
		$val = implode( ', ', (array) $field_value );
217
218
		return FrmAppHelper::kses( $val, 'all' );
219
	}
220
221
	/**
222
	 * Prepare the saved value for display
223
	 *
224
	 * @param array|string $value
225
	 * @param object $field
226
	 * @param array $atts
227
	 *
228
	 * @return string
229
	 */
230
	public static function display_value( $value, $field, $atts = array() ) {
231
232
		$defaults = array(
233
			'type'          => '',
234
			'html'          => false,
235
			'show_filename' => true,
236
			'truncate'      => false,
237
			'sep'           => ', ',
238
			'post_id'       => 0,
239
			'form_id'       => $field->form_id,
240
			'field'         => $field,
241
			'keepjs'        => 0,
242
			'return_array'  => false,
243
		);
244
245
		$atts = wp_parse_args( $atts, $defaults );
246
247
		if ( FrmField::is_image( $field ) || $field->type == 'star' ) {
248
			$atts['truncate'] = false;
249
			$atts['html']     = true;
250
		}
251
252
		$atts = apply_filters( 'frm_display_value_atts', $atts, $field, $value );
253
254
		if ( ! isset( $field->field_options['post_field'] ) ) {
255
			$field->field_options['post_field'] = '';
256
		}
257
258
		if ( ! isset( $field->field_options['custom_field'] ) ) {
259
			$field->field_options['custom_field'] = '';
260
		}
261
262
		if ( FrmAppHelper::pro_is_installed() && $atts['post_id'] && ( $field->field_options['post_field'] || $atts['type'] == 'tag' ) ) {
263
			$atts['pre_truncate'] = $atts['truncate'];
264
			$atts['truncate']     = true;
265
			$atts['exclude_cat']  = isset( $field->field_options['exclude_cat'] ) ? $field->field_options['exclude_cat'] : 0;
266
267
			$value            = FrmProEntryMetaHelper::get_post_value( $atts['post_id'], $field->field_options['post_field'], $field->field_options['custom_field'], $atts );
268
			$atts['truncate'] = $atts['pre_truncate'];
269
		}
270
271
		if ( $value == '' ) {
272
			return $value;
273
		}
274
275
		$unfiltered_value = maybe_unserialize( $value );
276
277
		$value = apply_filters( 'frm_display_value_custom', $unfiltered_value, $field, $atts );
278
		$value = apply_filters( 'frm_display_' . $field->type . '_value_custom', $value, compact( 'field', 'atts' ) );
279
280
		if ( $value == $unfiltered_value ) {
281
			$value = FrmFieldsHelper::get_unfiltered_display_value( compact( 'value', 'field', 'atts' ) );
282
		}
283
284
		if ( $atts['truncate'] && $atts['type'] != 'url' ) {
285
			$value = FrmAppHelper::truncate( $value, 50 );
286
		}
287
288
		if ( ! $atts['keepjs'] && ! is_array( $value ) ) {
289
			$value = FrmAppHelper::kses( $value, 'all' );
290
		}
291
292
		return apply_filters( 'frm_display_value', $value, $field, $atts );
293
	}
294
295
	public static function set_posted_value( $field, $value, $args ) {
296
		// If validating a field with "other" opt, set back to prev value now.
297
		if ( isset( $args['other'] ) && $args['other'] ) {
298
			$value = $args['temp_value'];
299
		}
300
		if ( empty( $args['parent_field_id'] ) ) {
301
			$_POST['item_meta'][ $field->id ] = $value;
302
		} else {
303
			$_POST['item_meta'][ $args['parent_field_id'] ][ $args['key_pointer'] ][ $field->id ] = $value;
304
		}
305
	}
306
307
	public static function get_posted_value( $field, &$value, $args ) {
308
		$field_id = is_object( $field ) ? $field->id : $field;
309
310
		if ( empty( $args['parent_field_id'] ) ) {
311
			$value = isset( $_POST['item_meta'][ $field_id ] ) ? wp_unslash( $_POST['item_meta'][ $field_id ] ) : '';
312
		} else {
313
			$value = isset( $_POST['item_meta'][ $args['parent_field_id'] ][ $args['key_pointer'] ][ $field_id ] ) ? wp_unslash( $_POST['item_meta'][ $args['parent_field_id'] ][ $args['key_pointer'] ][ $field_id ] ) : '';
314
		}
315
316
		FrmAppHelper::sanitize_value( 'wp_kses_post', $value );
317
	}
318
319
	/**
320
	 * Check if field has an "Other" option and if any other values are posted
321
	 *
322
	 * @since 2.0
323
	 *
324
	 * @param object $field
325
	 * @param string|array $value
326
	 * @param array $args
327
	 */
328
	public static function maybe_set_other_validation( $field, &$value, &$args ) {
329
		$args['other'] = false;
330
		if ( ! $value || empty( $value ) || ! FrmAppHelper::pro_is_installed() ) {
331
			return;
332
		}
333
334
		// Get other value for fields in repeating section.
335
		self::set_other_repeating_vals( $field, $value, $args );
336
337
		// Check if there are any posted "Other" values.
338
		if ( FrmField::is_option_true( $field, 'other' ) && isset( $_POST['item_meta']['other'][ $field->id ] ) ) {
339
340
			// Save original value.
341
			$args['temp_value'] = $value;
342
			$args['other']      = true;
343
			$other_vals         = wp_unslash( $_POST['item_meta']['other'][ $field->id ] );
344
345
			// Set the validation value now
346
			self::set_other_validation_val( $value, $other_vals, $field, $args );
347
		}
348
	}
349
350
	/**
351
	 * Sets radio or checkbox value equal to "other" value if it is set - FOR REPEATING SECTIONS
352
	 *
353
	 * @since 2.0
354
	 *
355
	 * @param object $field
356
	 * @param string|array $value
357
	 * @param array $args
358
	 */
359
	public static function set_other_repeating_vals( $field, &$value, &$args ) {
360
		if ( ! $args['parent_field_id'] ) {
361
			return;
362
		}
363
364
		// Check if there are any other posted "other" values for this field.
365
		if ( FrmField::is_option_true( $field, 'other' ) && isset( $_POST['item_meta'][ $args['parent_field_id'] ][ $args['key_pointer'] ]['other'][ $field->id ] ) ) {
366
			// Save original value
367
			$args['temp_value'] = $value;
368
			$args['other']      = true;
369
370
			$other_vals = wp_unslash( $_POST['item_meta'][ $args['parent_field_id'] ][ $args['key_pointer'] ]['other'][ $field->id ] );
371
372
			// Set the validation value now.
373
			self::set_other_validation_val( $value, $other_vals, $field, $args );
374
		}
375
	}
376
377
	/**
378
	 * Modify value used for validation
379
	 * This function essentially removes the "Other" radio or checkbox value from the $value being validated.
380
	 * It also adds any text from the free text fields to the value
381
	 *
382
	 * Needs to accommodate for times when other opt is selected, but no other free text is entered
383
	 *
384
	 * @since 2.0
385
	 *
386
	 * @param string|array $value
387
	 * @param string|array $other_vals (usually of posted values)
388
	 * @param object $field
389
	 * @param array $args
390
	 */
391
	public static function set_other_validation_val( &$value, $other_vals, $field, &$args ) {
392
		// Checkboxes and multi-select dropdowns.
393
		if ( is_array( $value ) && $field->type == 'checkbox' ) {
394
			// Combine "Other" values with checked values. "Other" values will override checked box values.
395
			$value = array_merge( $value, $other_vals );
396
			$value = array_filter( $value );
397
			if ( count( $value ) == 0 ) {
398
				$value = '';
399
			}
400
		} else {
401
			// Radio and dropdowns.
402
			$other_key = array_filter( array_keys( $field->options ), 'is_string' );
403
			$other_key = reset( $other_key );
404
405
			// Multi-select dropdown.
406
			if ( is_array( $value ) ) {
407
				$o_key = array_search( $field->options[ $other_key ], $value );
408
409
				if ( $o_key !== false ) {
410
					// Modify the original value so other key will be preserved.
411
					$value[ $other_key ] = $value[ $o_key ];
412
413
					// By default, the array keys will be numeric for multi-select dropdowns.
414
					// If going backwards and forwards between pages, the array key will match the other key.
415
					if ( $o_key !== $other_key ) {
416
						unset( $value[ $o_key ] );
417
					}
418
419
					$args['temp_value']  = $value;
420
					$value[ $other_key ] = reset( $other_vals );
421
					if ( FrmAppHelper::is_empty_value( $value[ $other_key ] ) ) {
422
						unset( $value[ $other_key ] );
423
					}
424
				}
425
			} elseif ( $field->options[ $other_key ] == $value ) {
426
				$value = $other_vals;
427
			}
428
		}
429
	}
430
431
	/**
432
	 * Add submitted values to a string for spam checking.
433
	 *
434
	 * @param array $values
435
	 */
436
	public static function entry_array_to_string( $values ) {
437
		$content = '';
438
		foreach ( $values['item_meta'] as $val ) {
439
			if ( $content != '' ) {
440
				$content .= "\n\n";
441
			}
442
443
			if ( is_array( $val ) ) {
444
				$val = FrmAppHelper::array_flatten( $val );
445
				$val = implode( ', ', $val );
446
			}
447
448
			$content .= $val;
449
		}
450
451
		return $content;
452
	}
453
454
	/**
455
	 * Get the browser from the user agent
456
	 *
457
	 * @since 2.04
458
	 *
459
	 * @param string $u_agent
460
	 *
461
	 * @return string
462
	 */
463
	public static function get_browser( $u_agent ) {
464
		$bname    = __( 'Unknown', 'formidable' );
465
		$platform = __( 'Unknown', 'formidable' );
466
		$ub       = '';
467
468
		// Get the operating system
469
		if ( preg_match( '/windows|win32/i', $u_agent ) ) {
470
			$platform = 'Windows';
471
		} elseif ( preg_match( '/android/i', $u_agent ) ) {
472
			$platform = 'Android';
473
		} elseif ( preg_match( '/linux/i', $u_agent ) ) {
474
			$platform = 'Linux';
475
		} elseif ( preg_match( '/macintosh|mac os x/i', $u_agent ) ) {
476
			$platform = 'OS X';
477
		}
478
479
		$agent_options = array(
480
			'Chrome'   => 'Google Chrome',
481
			'Safari'   => 'Apple Safari',
482
			'Opera'    => 'Opera',
483
			'Netscape' => 'Netscape',
484
			'Firefox'  => 'Mozilla Firefox',
485
		);
486
487
		// Next get the name of the useragent yes seperately and for good reason
488
		if ( strpos( $u_agent, 'MSIE' ) !== false && strpos( $u_agent, 'Opera' ) === false ) {
489
			$bname = 'Internet Explorer';
490
			$ub    = 'MSIE';
491
		} else {
492
			foreach ( $agent_options as $agent_key => $agent_name ) {
493
				if ( strpos( $u_agent, $agent_key ) !== false ) {
494
					$bname = $agent_name;
495
					$ub    = $agent_key;
496
					break;
497
				}
498
			}
499
		}
500
501
		// finally get the correct version number
502
		$known   = array( 'Version', $ub, 'other' );
503
		$pattern = '#(?<browser>' . join( '|', $known ) . ')[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
504
		preg_match_all( $pattern, $u_agent, $matches ); // get the matching numbers
505
506
		// see how many we have
507
		$i = count( $matches['browser'] );
508
509
		if ( $i > 1 ) {
510
			//we will have two since we are not using 'other' argument yet
511
			//see if version is before or after the name
512
			if ( strripos( $u_agent, 'Version' ) < strripos( $u_agent, $ub ) ) {
513
				$version = $matches['version'][0];
514
			} else {
515
				$version = $matches['version'][1];
516
			}
517
		} elseif ( $i === 1 ) {
518
			$version = $matches['version'][0];
519
		} else {
520
			$version = '';
521
		}
522
523
		// check if we have a number
524
		if ( $version == '' ) {
525
			$version = '?';
526
		}
527
528
		return $bname . ' ' . $version . ' / ' . $platform;
529
	}
530
531
	/**
532
	 * @since 3.0
533
	 */
534
	public static function actions_dropdown( $atts ) {
535
		$id    = isset( $atts['id'] ) ? $atts['id'] : FrmAppHelper::get_param( 'id', 0, 'get', 'absint' );
536
		$links = self::get_action_links( $id, $atts['entry'] );
537
538
		foreach ( $links as $link ) {
539
			?>
540
		<div class="misc-pub-section">
541
			<a href="<?php echo esc_url( FrmAppHelper::maybe_full_screen_link( $link['url'] ) ); ?>"
542
				<?php
543 View Code Duplication
				if ( isset( $link['data'] ) ) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
544
					foreach ( $link['data'] as $data => $value ) {
545
						echo 'data-' . esc_attr( $data ) . '="' . esc_attr( $value ) . '" ';
546
					}
547
				}
548
				if ( isset( $link['class'] ) ) {
549
					echo 'class="' . esc_attr( $link['class'] ) . '" ';
550
				}
551
				if ( isset( $link['id'] ) ) {
552
					echo 'id="' . esc_attr( $link['id'] ) . '" ';
553
				}
554
				?>
555
				>
556
				<?php FrmAppHelper::icon_by_class( $link['icon'], array( 'aria-hidden' => 'true' ) ); ?>
557
				<span class="frm_link_label"><?php echo esc_html( $link['label'] ); ?></span>
558
			</a>
559
		</div>
560
			<?php
561
		}
562
	}
563
564
	/**
565
	 * @since 3.0
566
	 */
567
	private static function get_action_links( $id, $entry ) {
568
		$page    = FrmAppHelper::get_param( 'frm_action' );
569
		$actions = array();
570
571
		if ( $page != 'show' ) {
572
			$actions['frm_view'] = array(
573
				'url'   => admin_url( 'admin.php?page=formidable-entries&frm_action=show&id=' . $id . '&form=' . $entry->form_id ),
574
				'label' => __( 'View Entry', 'formidable' ),
575
				'icon'  => 'frm_icon_font frm_save_icon',
576
			);
577
		}
578
579
		if ( current_user_can( 'frm_delete_entries' ) ) {
580
			$actions['frm_delete'] = array(
581
				'url'   => admin_url( 'admin.php?page=formidable-entries&frm_action=destroy&id=' . $id . '&form=' . $entry->form_id ),
582
				'label' => __( 'Delete Entry', 'formidable' ),
583
				'icon'  => 'frm_icon_font frm_delete_icon',
584
				'data'  => array(
585
					'frmverify' => __( 'Delete this form entry?', 'formidable' ),
586
				),
587
			);
588
		}
589
590
		if ( $page == 'show' ) {
591
			$actions['frm_print'] = array(
592
				'url'   => '#',
593
				'label' => __( 'Print Entry', 'formidable' ),
594
				'data'  => array(
595
					'frmprint' => '1',
596
				),
597
				'icon'  => 'frm_icon_font frm_printer_icon',
598
			);
599
		}
600
601
		$actions['frm_resend'] = array(
602
			'url'   => '#',
603
			'label' => __( 'Resend Emails', 'formidable' ),
604
			'class' => 'frm_noallow',
605
			'data'  => array(
606
				'upgrade' => __( 'Resend Emails', 'formidable' ),
607
				'medium'  => 'resend-email',
608
				'content' => 'entry',
609
			),
610
			'icon'  => 'frm_icon_font frm_email_icon',
611
		);
612
613
		$actions['frm_edit'] = array(
614
			'url'   => '#',
615
			'label' => __( 'Edit Entry', 'formidable' ),
616
			'class' => 'frm_noallow',
617
			'data'  => array(
618
				'upgrade' => __( 'Entry edits', 'formidable' ),
619
				'medium'  => 'edit-entries',
620
				'content' => 'entry',
621
			),
622
			'icon'  => 'frm_icon_font frm_pencil_icon',
623
		);
624
625
		return apply_filters( 'frm_entry_actions_dropdown', $actions, compact( 'id', 'entry' ) );
626
	}
627
}
628