| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
namespace MediaWiki\Maintenance; |
| 22 |
|
| 23 |
use UnexpectedValueException; |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
class MaintenanceParameters { |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
private $mOptDefs = []; |
| 39 |
|
| 40 |
|
| 41 |
private $mShortOptionMap = []; |
| 42 |
|
| 43 |
|
| 44 |
private $mArgDefs = []; |
| 45 |
|
| 46 |
|
| 47 |
private $mArgOffsets = []; |
| 48 |
|
| 49 |
|
| 50 |
private $mAllowUnregisteredOptions = false; |
| 51 |
|
| 52 |
|
| 53 |
private $mName = null; |
| 54 |
|
| 55 |
|
| 56 |
private $mDescription = null; |
| 57 |
|
| 58 |
|
| 59 |
private $mOptions = []; |
| 60 |
|
| 61 |
|
| 62 |
private $mArgs = []; |
| 63 |
|
| 64 |
|
| 65 |
private $mOptionGroups = []; |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
private $optionsSequence = []; |
| 75 |
|
| 76 |
|
| 77 |
private $errors = []; |
| 78 |
|
| 79 |
|
| 80 |
private $usagePrefix = 'php maintenance/run.php'; |
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
public function &getFieldReference( string $fieldName ) { |
| 92 |
return $this->$fieldName; |
| 93 |
} |
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
public function assignGroup( string $groupName, array $paramNames ) { |
| 104 |
$this->mOptionGroups[ $groupName ] = array_merge( |
| 105 |
$this->mOptionGroups[ $groupName ] ?? [], |
| 106 |
$paramNames |
| 107 |
); |
| 108 |
} |
| 109 |
|
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
public function supportsOption( string $name ) { |
| 117 |
return isset( $this->mOptDefs[$name] ); |
| 118 |
} |
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
public function addOption( string $name, string $description, bool $required = false, |
| 132 |
bool $withArg = false, $shortName = false, bool $multiOccurrence = false |
| 133 |
) { |
| 134 |
$this->mOptDefs[$name] = [ |
| 135 |
'desc' => $description, |
| 136 |
'require' => $required, |
| 137 |
'withArg' => $withArg, |
| 138 |
'shortName' => $shortName, |
| 139 |
'multiOccurrence' => $multiOccurrence |
| 140 |
]; |
| 141 |
|
| 142 |
if ( $shortName !== false ) { |
| 143 |
$this->mShortOptionMap[$shortName] = $name; |
| 144 |
} |
| 145 |
} |
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
|
| 153 |
public function hasOption( string $name ): bool { |
| 154 |
return isset( $this->mOptions[$name] ); |
| 155 |
} |
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
public function getOption( string $name, $default = null ) { |
| 169 |
if ( $this->hasOption( $name ) ) { |
| 170 |
return $this->mOptions[$name]; |
| 171 |
} else { |
| 172 |
return $default; |
| 173 |
} |
| 174 |
} |
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
public function addArg( string $arg, string $description, bool $required = true, bool $multi = false ): int { |
| 187 |
if ( isset( $this->mArgOffsets[$arg] ) ) { |
| 188 |
throw new UnexpectedValueException( "Argument already defined: $arg" ); |
| 189 |
} |
| 190 |
|
| 191 |
$argCount = count( $this->mArgDefs ); |
| 192 |
if ( $argCount ) { |
| 193 |
$prevArg = $this->mArgDefs[ $argCount - 1 ]; |
| 194 |
if ( !$prevArg['require'] && $required ) { |
| 195 |
throw new UnexpectedValueException( |
| 196 |
"Required argument {$arg} cannot follow an optional argument {$prevArg['name']}" |
| 197 |
); |
| 198 |
} |
| 199 |
|
| 200 |
if ( $prevArg['multi'] ) { |
| 201 |
throw new UnexpectedValueException( |
| 202 |
"Argument {$arg} cannot follow multi-value argument {$prevArg['name']}" |
| 203 |
); |
| 204 |
} |
| 205 |
} |
| 206 |
|
| 207 |
$this->mArgDefs[] = [ |
| 208 |
'name' => $arg, |
| 209 |
'desc' => $description, |
| 210 |
'require' => $required, |
| 211 |
'multi' => $multi, |
| 212 |
]; |
| 213 |
|
| 214 |
$ofs = count( $this->mArgDefs ) - 1; |
| 215 |
$this->mArgOffsets[$arg] = $ofs; |
| 216 |
return $ofs; |
| 217 |
} |
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
|
| 222 |
|
| 223 |
public function deleteOption( string $name ) { |
| 224 |
unset( $this->mOptDefs[$name] ); |
| 225 |
unset( $this->mOptions[$name] ); |
| 226 |
|
| 227 |
foreach ( $this->optionsSequence as $i => [ $opt, ] ) { |
| 228 |
if ( $opt === $name ) { |
| 229 |
unset( $this->optionsSequence[$i] ); |
| 230 |
break; |
| 231 |
} |
| 232 |
} |
| 233 |
} |
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
|
| 240 |
public function setAllowUnregisteredOptions( bool $allow ) { |
| 241 |
$this->mAllowUnregisteredOptions = $allow; |
| 242 |
} |
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
|
| 248 |
public function setDescription( string $text ) { |
| 249 |
$this->mDescription = $text; |
| 250 |
} |
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
|
| 258 |
public function hasArg( $argId ): bool { |
| 259 |
|
| 260 |
if ( is_string( $argId ) && isset( $this->mArgOffsets[$argId] ) ) { |
| 261 |
$argId = $this->mArgOffsets[$argId]; |
| 262 |
} |
| 263 |
|
| 264 |
return isset( $this->mArgs[$argId] ); |
| 265 |
} |
| 266 |
|
| 267 |
|
| 268 |
|
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
public function getArg( $argId, ?string $default = null ): ?string { |
| 276 |
|
| 277 |
if ( is_string( $argId ) && isset( $this->mArgOffsets[$argId] ) ) { |
| 278 |
$argId = $this->mArgOffsets[$argId]; |
| 279 |
} |
| 280 |
|
| 281 |
return $this->mArgs[$argId] ?? $default; |
| 282 |
} |
| 283 |
|
| 284 |
|
| 285 |
|
| 286 |
|
| 287 |
|
| 288 |
|
| 289 |
|
| 290 |
public function getArgs( $offset = 0 ): array { |
| 291 |
if ( is_string( $offset ) && isset( $this->mArgOffsets[$offset] ) ) { |
| 292 |
$offset = $this->mArgOffsets[$offset]; |
| 293 |
} |
| 294 |
|
| 295 |
return array_slice( $this->mArgs, $offset ); |
| 296 |
} |
| 297 |
|
| 298 |
|
| 299 |
|
| 300 |
|
| 301 |
|
| 302 |
|
| 303 |
|
| 304 |
|
| 305 |
public function getArgName( int $argIndex ): ?string { |
| 306 |
return $this->mArgDefs[ $argIndex ]['name'] ?? null; |
| 307 |
} |
| 308 |
|
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
|
| 314 |
|
| 315 |
|
| 316 |
public function setOption( string $name, $value ): void { |
| 317 |
$this->mOptions[$name] = $value; |
| 318 |
} |
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
|
| 325 |
|
| 326 |
|
| 327 |
public function setArg( $argId, $value ): void { |
| 328 |
|
| 329 |
if ( is_string( $argId ) && isset( $this->mArgOffsets[$argId] ) ) { |
| 330 |
$argId = $this->mArgOffsets[$argId]; |
| 331 |
} |
| 332 |
$this->mArgs[$argId] = $value; |
| 333 |
} |
| 334 |
|
| 335 |
|
| 336 |
|
| 337 |
|
| 338 |
|
| 339 |
public function clear() { |
| 340 |
$this->mOptions = []; |
| 341 |
$this->mArgs = []; |
| 342 |
$this->optionsSequence = []; |
| 343 |
$this->errors = []; |
| 344 |
} |
| 345 |
|
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
|
| 350 |
|
| 351 |
public function mergeOptions( MaintenanceParameters $other ) { |
| 352 |
$this->mOptDefs = $other->mOptDefs + $this->mOptDefs; |
| 353 |
$this->mShortOptionMap = $other->mShortOptionMap + $this->mShortOptionMap; |
| 354 |
|
| 355 |
$this->mOptionGroups = array_merge_recursive( $this->mOptionGroups, $other->mOptionGroups ); |
| 356 |
|
| 357 |
$this->clear(); |
| 358 |
} |
| 359 |
|
| 360 |
|
| 361 |
|
| 362 |
|
| 363 |
|
| 364 |
|
| 365 |
|
| 366 |
|
| 367 |
public function loadWithArgv( array $argv, int $skip = 0 ) { |
| 368 |
$this->clear(); |
| 369 |
|
| 370 |
$options = []; |
| 371 |
$args = []; |
| 372 |
$this->optionsSequence = []; |
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
$argv = array_slice( $argv, $skip ); |
| 377 |
|
| 378 |
|
| 379 |
for ( $arg = reset( $argv ); $arg !== false; $arg = next( $argv ) ) { |
| 380 |
if ( $arg == '--' ) { |
| 381 |
|
| 382 |
$arg = next( $argv ); |
| 383 |
while ( $arg !== false ) { |
| 384 |
$args[] = $arg; |
| 385 |
$arg = next( $argv ); |
| 386 |
} |
| 387 |
break; |
| 388 |
} elseif ( substr( $arg, 0, 2 ) == '--' ) { |
| 389 |
|
| 390 |
$option = substr( $arg, 2 ); |
| 391 |
if ( isset( $this->mOptDefs[$option] ) && $this->mOptDefs[$option]['withArg'] ) { |
| 392 |
$param = next( $argv ); |
| 393 |
if ( $param === false ) { |
| 394 |
$this->error( "Option --$option needs a value after it!" ); |
| 395 |
} |
| 396 |
|
| 397 |
$this->setOptionValue( $options, $option, $param ); |
| 398 |
} else { |
| 399 |
$bits = explode( '=', $option, 2 ); |
| 400 |
$this->setOptionValue( $options, $bits[0], $bits[1] ?? 1 ); |
| 401 |
} |
| 402 |
} elseif ( $arg == '-' ) { |
| 403 |
|
| 404 |
$args[] = $arg; |
| 405 |
} elseif ( substr( $arg, 0, 1 ) == '-' ) { |
| 406 |
|
| 407 |
$argLength = strlen( $arg ); |
| 408 |
for ( $p = 1; $p < $argLength; $p++ ) { |
| 409 |
$option = $arg[$p]; |
| 410 |
if ( !isset( $this->mOptDefs[$option] ) && isset( $this->mShortOptionMap[$option] ) ) { |
| 411 |
$option = $this->mShortOptionMap[$option]; |
| 412 |
} |
| 413 |
|
| 414 |
if ( isset( $this->mOptDefs[$option]['withArg'] ) && $this->mOptDefs[$option]['withArg'] ) { |
| 415 |
$param = next( $argv ); |
| 416 |
if ( $param === false ) { |
| 417 |
$this->error( "Option --$option needs a value after it!" ); |
| 418 |
} |
| 419 |
$this->setOptionValue( $options, $option, $param ); |
| 420 |
} else { |
| 421 |
$this->setOptionValue( $options, $option, 1 ); |
| 422 |
} |
| 423 |
} |
| 424 |
} else { |
| 425 |
$args[] = $arg; |
| 426 |
} |
| 427 |
} |
| 428 |
|
| 429 |
$this->mOptions = $options; |
| 430 |
$this->mArgs = $args; |
| 431 |
} |
| 432 |
|
| 433 |
|
| 434 |
|
| 435 |
|
| 436 |
|
| 437 |
|
| 438 |
|
| 439 |
|
| 440 |
|
| 441 |
|
| 442 |
|
| 443 |
|
| 444 |
private function setOptionValue( array &$options, string $option, $value ) { |
| 445 |
$this->optionsSequence[] = [ $option, $value ]; |
| 446 |
|
| 447 |
if ( isset( $this->mOptDefs[$option] ) ) { |
| 448 |
$multi = $this->mOptDefs[$option]['multiOccurrence']; |
| 449 |
} else { |
| 450 |
$multi = false; |
| 451 |
} |
| 452 |
$exists = array_key_exists( $option, $options ); |
| 453 |
if ( $multi && $exists ) { |
| 454 |
$options[$option][] = $value; |
| 455 |
} elseif ( $multi ) { |
| 456 |
$options[$option] = [ $value ]; |
| 457 |
} elseif ( !$exists ) { |
| 458 |
$options[$option] = $value; |
| 459 |
} else { |
| 460 |
$this->error( "Option --$option given twice" ); |
| 461 |
} |
| 462 |
} |
| 463 |
|
| 464 |
private function error( string $msg ) { |
| 465 |
$this->errors[] = $msg; |
| 466 |
} |
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
public function getErrors(): array { |
| 474 |
return $this->errors; |
| 475 |
} |
| 476 |
|
| 477 |
|
| 478 |
|
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
public function hasErrors(): bool { |
| 483 |
return (bool)$this->errors; |
| 484 |
} |
| 485 |
|
| 486 |
|
| 487 |
|
| 488 |
|
| 489 |
|
| 490 |
|
| 491 |
public function setName( string $name ) { |
| 492 |
$this->mName = $name; |
| 493 |
} |
| 494 |
|
| 495 |
|
| 496 |
|
| 497 |
|
| 498 |
|
| 499 |
|
| 500 |
public function getName(): string { |
| 501 |
return $this->mName; |
| 502 |
} |
| 503 |
|
| 504 |
|
| 505 |
|
| 506 |
|
| 507 |
|
| 508 |
|
| 509 |
|
| 510 |
|
| 511 |
|
| 512 |
public function setOptionsAndArgs( array $opts, array $args ) { |
| 513 |
$this->mOptions = $opts; |
| 514 |
$this->mArgs = $args; |
| 515 |
|
| 516 |
$this->optionsSequence = []; |
| 517 |
foreach ( $opts as $name => $value ) { |
| 518 |
$array = (array)$value; |
| 519 |
|
| 520 |
foreach ( $array as $v ) { |
| 521 |
$this->optionsSequence[] = [ $name, $v ]; |
| 522 |
} |
| 523 |
} |
| 524 |
} |
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
|
| 529 |
|
| 530 |
|
| 531 |
|
| 532 |
|
| 533 |
public function validate() { |
| 534 |
$valid = true; |
| 535 |
|
| 536 |
foreach ( $this->mOptDefs as $opt => $info ) { |
| 537 |
if ( $info['require'] && !$this->hasOption( $opt ) ) { |
| 538 |
$this->error( "Option --$opt is required!" ); |
| 539 |
$valid = false; |
| 540 |
} |
| 541 |
} |
| 542 |
|
| 543 |
foreach ( $this->mArgDefs as $k => $info ) { |
| 544 |
if ( $info['require'] && !$this->hasArg( $k ) ) { |
| 545 |
$this->error( 'Argument <' . $info['name'] . '> is required!' ); |
| 546 |
$valid = false; |
| 547 |
} |
| 548 |
} |
| 549 |
if ( !$this->mAllowUnregisteredOptions ) { |
| 550 |
|
| 551 |
foreach ( $this->mOptions as $opt => $val ) { |
| 552 |
if ( !$this->supportsOption( $opt ) ) { |
| 553 |
$this->error( "Unexpected option --$opt!" ); |
| 554 |
$valid = false; |
| 555 |
} |
| 556 |
} |
| 557 |
} |
| 558 |
|
| 559 |
return $valid; |
| 560 |
} |
| 561 |
|
| 562 |
|
| 563 |
|
| 564 |
|
| 565 |
|
| 566 |
|
| 567 |
public function getHelp(): string { |
| 568 |
$screenWidth = 80; |
| 569 |
$tab = " "; |
| 570 |
$descWidth = $screenWidth - ( 2 * strlen( $tab ) ); |
| 571 |
|
| 572 |
ksort( $this->mOptDefs ); |
| 573 |
|
| 574 |
$output = []; |
| 575 |
|
| 576 |
|
| 577 |
if ( $this->mDescription ) { |
| 578 |
$output[] = "\n" . wordwrap( $this->mDescription, $screenWidth ) . "\n"; |
| 579 |
} |
| 580 |
$output[] = "\nUsage: {$this->usagePrefix} " . basename( $this->mName ); |
| 581 |
|
| 582 |
|
| 583 |
if ( $this->mOptDefs ) { |
| 584 |
$output[] = ' [OPTION]...'; |
| 585 |
|
| 586 |
foreach ( $this->mOptDefs as $name => $opt ) { |
| 587 |
if ( $opt['require'] ) { |
| 588 |
$output[] = " --$name"; |
| 589 |
|
| 590 |
if ( $opt['withArg'] ) { |
| 591 |
$vname = strtoupper( $name ); |
| 592 |
$output[] = " <$vname>"; |
| 593 |
} |
| 594 |
} |
| 595 |
} |
| 596 |
} |
| 597 |
|
| 598 |
|
| 599 |
if ( $this->mArgDefs ) { |
| 600 |
$args = ''; |
| 601 |
foreach ( $this->mArgDefs as $arg ) { |
| 602 |
$argRepr = $this->getArgRepresentation( $arg ); |
| 603 |
|
| 604 |
$args .= ' '; |
| 605 |
$args .= $argRepr; |
| 606 |
} |
| 607 |
$output[] = $args; |
| 608 |
} |
| 609 |
$output[] = "\n\n"; |
| 610 |
|
| 611 |
|
| 612 |
|
| 613 |
$params = $this->mOptDefs; |
| 614 |
foreach ( $this->mOptionGroups as $groupName => $groupOptions ) { |
| 615 |
$output[] = $this->formatHelpItems( |
| 616 |
array_intersect_key( $params, array_flip( $groupOptions ) ), |
| 617 |
$groupName, |
| 618 |
$descWidth, $tab |
| 619 |
); |
| 620 |
$params = array_diff_key( $params, array_flip( $groupOptions ) ); |
| 621 |
} |
| 622 |
|
| 623 |
$output[] = $this->formatHelpItems( |
| 624 |
$params, |
| 625 |
'Script specific options', |
| 626 |
$descWidth, $tab |
| 627 |
); |
| 628 |
|
| 629 |
|
| 630 |
if ( count( $this->mArgDefs ) > 0 ) { |
| 631 |
$output[] = "Arguments:\n"; |
| 632 |
|
| 633 |
foreach ( $this->mArgDefs as $info ) { |
| 634 |
$argRepr = $this->getArgRepresentation( $info ); |
| 635 |
$output[] = |
| 636 |
wordwrap( |
| 637 |
"$tab$argRepr: " . $info['desc'], |
| 638 |
$descWidth, |
| 639 |
"\n$tab$tab" |
| 640 |
) . "\n"; |
| 641 |
} |
| 642 |
$output[] = "\n"; |
| 643 |
} |
| 644 |
|
| 645 |
return implode( '', $output ); |
| 646 |
} |
| 647 |
|
| 648 |
private function formatHelpItems( array $items, $heading, $descWidth, $tab ) { |
| 649 |
if ( $items === [] ) { |
| 650 |
return ''; |
| 651 |
} |
| 652 |
|
| 653 |
$output = []; |
| 654 |
|
| 655 |
$output[] = "$heading:\n"; |
| 656 |
|
| 657 |
foreach ( $items as $name => $info ) { |
| 658 |
if ( $info['shortName'] !== false ) { |
| 659 |
$name .= ' (-' . $info['shortName'] . ')'; |
| 660 |
} |
| 661 |
if ( $info['withArg'] ) { |
| 662 |
$vname = strtoupper( $name ); |
| 663 |
$name .= " <$vname>"; |
| 664 |
} |
| 665 |
|
| 666 |
$output[] = |
| 667 |
wordwrap( |
| 668 |
"$tab--$name: " . strtr( $info['desc'], [ "\n" => "\n$tab$tab" ] ), |
| 669 |
$descWidth, |
| 670 |
"\n$tab$tab" |
| 671 |
) . "\n"; |
| 672 |
} |
| 673 |
|
| 674 |
$output[] = "\n"; |
| 675 |
|
| 676 |
return implode( '', $output ); |
| 677 |
} |
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
|
| 682 |
|
| 683 |
public function getOptionNames(): array { |
| 684 |
return array_keys( $this->mOptDefs ); |
| 685 |
} |
| 686 |
|
| 687 |
|
| 688 |
|
| 689 |
|
| 690 |
|
| 691 |
public function getOptions(): array { |
| 692 |
return $this->mOptions; |
| 693 |
} |
| 694 |
|
| 695 |
|
| 696 |
|
| 697 |
|
| 698 |
|
| 699 |
|
| 700 |
public function getOptionsSequence(): array { |
| 701 |
return $this->optionsSequence; |
| 702 |
} |
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
|
| 707 |
public function setUsagePrefix( string $usagePrefix ) { |
| 708 |
$this->usagePrefix = $usagePrefix; |
| 709 |
} |
| 710 |
|
| 711 |
|
| 712 |
|
| 713 |
|
| 714 |
|
| 715 |
|
| 716 |
private function getArgRepresentation( array $argInfo ): string { |
| 717 |
if ( $argInfo['require'] ) { |
| 718 |
$rep = '<' . $argInfo['name'] . '>'; |
| 719 |
} else { |
| 720 |
$rep = '[' . $argInfo['name'] . ']'; |
| 721 |
} |
| 722 |
|
| 723 |
if ( $argInfo['multi'] ) { |
| 724 |
$rep .= '...'; |
| 725 |
} |
| 726 |
|
| 727 |
return $rep; |
| 728 |
} |
| 729 |
|
| 730 |
} |