<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2026-11-30T12:00:00.000Z" agent="OpenCode" version="24.7.17" type="device">
  <diagram id="component-classes" name="OCULTALO · diagrama de clases">
    <mxGraphModel dx="1600" dy="1000" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="2700" pageHeight="1950" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="pkg_1" value="api · frontera pública" style="swimlane;fontStyle=1;align=left;verticalAlign=top;spacingLeft=10;startSize=30;html=1;rounded=1;arcSize=2;container=1;collapsible=0;fillColor=#eaf2fb;strokeColor=#6c8ebf;fontColor=#333333;" vertex="1" parent="1">
          <mxGeometry x="40" y="40" width="520" height="420" as="geometry" />
        </mxCell>
        <mxCell id="pkg_2" value="application · casos de uso y puertos" style="swimlane;fontStyle=1;align=left;verticalAlign=top;spacingLeft=10;startSize=30;html=1;rounded=1;arcSize=2;container=1;collapsible=0;fillColor=#eef7ee;strokeColor=#82b366;fontColor=#333333;" vertex="1" parent="1">
          <mxGeometry x="600" y="40" width="1200" height="1040" as="geometry" />
        </mxCell>
        <mxCell id="pkg_3" value="domain · modelo y contratos" style="swimlane;fontStyle=1;align=left;verticalAlign=top;spacingLeft=10;startSize=30;html=1;rounded=1;arcSize=2;container=1;collapsible=0;fillColor=#f5eef8;strokeColor=#9673a6;fontColor=#333333;" vertex="1" parent="1">
          <mxGeometry x="1840" y="40" width="720" height="800" as="geometry" />
        </mxCell>
        <mxCell id="pkg_4" value="infrastructure · adaptadores" style="swimlane;fontStyle=1;align=left;verticalAlign=top;spacingLeft=10;startSize=30;html=1;rounded=1;arcSize=2;container=1;collapsible=0;fillColor=#fff8e6;strokeColor=#d6b656;fontColor=#333333;" vertex="1" parent="1">
          <mxGeometry x="40" y="1120" width="2520" height="650" as="geometry" />
        </mxCell>
        <mxCell id="cls_5" value="«builder · composition root»&lt;br&gt;&lt;b&gt;AnonymizerBuilder&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#222222;" vertex="1" parent="pkg_1">
          <mxGeometry x="40" y="45" width="440" height="296" as="geometry" />
        </mxCell>
        <mxCell id="attr_6" value="- _pending_rules: dict[str, AnonymizationRule]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="40" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_7" value="- _salt_provider: SaltProvider | None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="60" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_8" value="- _include_defaults: bool" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="80" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_9" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_5">
          <mxGeometry y="100" width="440" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_10" value="+ with_default_rules() Self" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="108" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_11" value="+ add_rule(rule: AnonymizationRule) Self" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="128" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_12" value="+ with_salt_provider(provider: SaltProvider) Self" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="148" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_13" value="+ build() PiiAnonymizer" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="168" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_14" value="+ partial_mask_strategy(prefix, suffix, char)$ MaskingStrategy" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="188" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_15" value="+ hash_mask_strategy(provider, length)$ MaskingStrategy" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="208" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_16" value="+ email_detector()$ SensitivePatternDetector" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="228" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_17" value="+ credit_card_detector()$ SensitivePatternDetector" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="248" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_18" value="- _default_rules(salt_provider) list[AnonymizationRule]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_5">
          <mxGeometry y="268" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="note_19" value="&lt;b&gt;Única puerta de entrada&lt;/b&gt;&lt;br&gt;El cliente importa &lt;font face=&quot;Courier New&quot;&gt;pii_anonymizer.api&lt;/font&gt;, nunca &lt;font face=&quot;Courier New&quot;&gt;_internal&lt;/font&gt;. El builder compone la fachada, el repositorio, el recorredor, las estrategias y los detectores." style="shape=note;whiteSpace=wrap;html=1;size=14;align=left;verticalAlign=top;spacingLeft=6;spacingRight=6;spacingTop=4;fillColor=#fffbe6;strokeColor=#d6b656;fontSize=10;" vertex="1" parent="1">
          <mxGeometry x="80" y="392" width="440" height="55" as="geometry" />
        </mxCell>
        <mxCell id="cls_20" value="«interface»&lt;br&gt;&lt;b&gt;PiiAnonymizer&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="30" y="45" width="350" height="128" as="geometry" />
        </mxCell>
        <mxCell id="mth_21" value="+ anonymize_map(data: dict) dict" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_20">
          <mxGeometry y="40" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_22" value="+ anonymize_text(raw_text: str) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_20">
          <mxGeometry y="60" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_23" value="+ register_rule(rule: AnonymizationRule) None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_20">
          <mxGeometry y="80" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_24" value="+ audit_compliance(data: dict) ComplianceReport" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_20">
          <mxGeometry y="100" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_25" value="«facade»&lt;br&gt;&lt;b&gt;DefaultPiiAnonymizer&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="30" y="215" width="350" height="216" as="geometry" />
        </mxCell>
        <mxCell id="attr_26" value="- _anonymize_map_use_case: AnonymizeMapUseCase" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_25">
          <mxGeometry y="40" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_27" value="- _anonymize_text_use_case: AnonymizeTextUseCase" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_25">
          <mxGeometry y="60" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_28" value="- _register_rule_use_case: RegisterRuleUseCase" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_25">
          <mxGeometry y="80" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_29" value="- _audit_compliance_use_case: AuditComplianceUseCase" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_25">
          <mxGeometry y="100" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_30" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_25">
          <mxGeometry y="120" width="350" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_31" value="+ anonymize_map(data: dict) dict" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_25">
          <mxGeometry y="128" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_32" value="+ anonymize_text(raw_text: str) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_25">
          <mxGeometry y="148" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_33" value="+ register_rule(rule: AnonymizationRule) None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_25">
          <mxGeometry y="168" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_34" value="+ audit_compliance(data: dict) ComplianceReport" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_25">
          <mxGeometry y="188" width="350" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_35" value="«use case»&lt;br&gt;&lt;b&gt;AnonymizeMapUseCase&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="390" y="45" width="340" height="116" as="geometry" />
        </mxCell>
        <mxCell id="attr_36" value="- _rule_repository: RuleRepository" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_35">
          <mxGeometry y="40" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_37" value="- _traverser: StructureTraverser" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_35">
          <mxGeometry y="60" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_38" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_35">
          <mxGeometry y="80" width="340" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_39" value="+ execute(data: dict) dict" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_35">
          <mxGeometry y="88" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_40" value="«use case»&lt;br&gt;&lt;b&gt;AnonymizeTextUseCase&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="390" y="185" width="340" height="96" as="geometry" />
        </mxCell>
        <mxCell id="attr_41" value="- _rule_repository: RuleRepository" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_40">
          <mxGeometry y="40" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_42" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_40">
          <mxGeometry y="60" width="340" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_43" value="+ execute(raw_text: str) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_40">
          <mxGeometry y="68" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_44" value="«use case»&lt;br&gt;&lt;b&gt;RegisterRuleUseCase&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="390" y="305" width="340" height="96" as="geometry" />
        </mxCell>
        <mxCell id="attr_45" value="- _rule_repository: RuleRepository" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_44">
          <mxGeometry y="40" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_46" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_44">
          <mxGeometry y="60" width="340" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_47" value="+ execute(rule: AnonymizationRule) None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_44">
          <mxGeometry y="68" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_48" value="«use case»&lt;br&gt;&lt;b&gt;AuditComplianceUseCase&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="390" y="425" width="340" height="116" as="geometry" />
        </mxCell>
        <mxCell id="attr_49" value="- _rule_repository: RuleRepository" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_48">
          <mxGeometry y="40" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_50" value="- _traverser: StructureTraverser" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_48">
          <mxGeometry y="60" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_51" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_48">
          <mxGeometry y="80" width="340" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_52" value="+ execute(data: dict) ComplianceReport" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_48">
          <mxGeometry y="88" width="340" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_53" value="«interface»&lt;br&gt;&lt;b&gt;RuleRepository&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="760" y="45" width="410" height="128" as="geometry" />
        </mxCell>
        <mxCell id="mth_54" value="+ save(rule: AnonymizationRule) None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_53">
          <mxGeometry y="40" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_55" value="+ get_all() list" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_53">
          <mxGeometry y="60" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_56" value="+ find_by_field(name) AnonymizationRule?" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_53">
          <mxGeometry y="80" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_57" value="+ get_detector_rules() list" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_53">
          <mxGeometry y="100" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_58" value="«interface»&lt;br&gt;&lt;b&gt;StructureTraverser&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="760" y="225" width="410" height="68" as="geometry" />
        </mxCell>
        <mxCell id="mth_59" value="+ traverse(data, rules) tuple" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_58">
          <mxGeometry y="40" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_60" value="«chain of responsibility»&lt;br&gt;&lt;b&gt;DetectorChain&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="760" y="355" width="410" height="136" as="geometry" />
        </mxCell>
        <mxCell id="attr_61" value="- _head: _DetectorHandler | None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_60">
          <mxGeometry y="40" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_62" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_60">
          <mxGeometry y="60" width="410" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_63" value="+ apply(text: str) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_60">
          <mxGeometry y="68" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_64" value="+ apply_detailed(text) tuple" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_60">
          <mxGeometry y="88" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_65" value="- _resolve_overlaps(candidates, length)$ list" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_60">
          <mxGeometry y="108" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_66" value="«dataclass»&lt;br&gt;&lt;b&gt;AppliedMask&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="760" y="880" width="410" height="128" as="geometry" />
        </mxCell>
        <mxCell id="attr_67" value="+ rule_id: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_66">
          <mxGeometry y="40" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_68" value="+ category: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_66">
          <mxGeometry y="60" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_69" value="+ start: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_66">
          <mxGeometry y="80" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_70" value="+ end: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_66">
          <mxGeometry y="100" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="note_71" value="&lt;b&gt;Cadena de responsabilidad&lt;/b&gt;&lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;DetectorChain&lt;/font&gt; conserva la cabeza de la cadena; cada &lt;font face=&quot;Courier New&quot;&gt;_DetectorHandler&lt;/font&gt; delega en el siguiente y acumula &lt;font face=&quot;Courier New&quot;&gt;_Candidate&lt;/font&gt;. La cadena resuelve solapamientos antes de aplicar la estrategia." style="shape=note;whiteSpace=wrap;html=1;size=14;align=left;verticalAlign=top;spacingLeft=6;spacingRight=6;spacingTop=4;fillColor=#fffbe6;strokeColor=#d6b656;fontSize=10;" vertex="1" parent="1">
          <mxGeometry x="30" y="755" width="350" height="90" as="geometry" />
        </mxCell>
        <mxCell id="cls_72" value="«value object»&lt;br&gt;&lt;b&gt;AnonymizationRule&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#222222;" vertex="1" parent="pkg_3">
          <mxGeometry x="340" y="45" width="290" height="156" as="geometry" />
        </mxCell>
        <mxCell id="attr_73" value="+ rule_id: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_72">
          <mxGeometry y="40" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_74" value="+ strategy: MaskingStrategy" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_72">
          <mxGeometry y="60" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_75" value="+ field_names: tuple[str, ...]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_72">
          <mxGeometry y="80" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_76" value="+ detector: SensitivePatternDetector | None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_72">
          <mxGeometry y="100" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_77" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_72">
          <mxGeometry y="120" width="290" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_78" value="+ __post_init__() None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_72">
          <mxGeometry y="128" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_79" value="«value object»&lt;br&gt;&lt;b&gt;TextMatch&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#222222;" vertex="1" parent="pkg_3">
          <mxGeometry x="340" y="225" width="290" height="128" as="geometry" />
        </mxCell>
        <mxCell id="attr_80" value="+ category: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_79">
          <mxGeometry y="40" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_81" value="+ start: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_79">
          <mxGeometry y="60" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_82" value="+ end: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_79">
          <mxGeometry y="80" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_83" value="+ matched_text: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_79">
          <mxGeometry y="100" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_84" value="«value object»&lt;br&gt;&lt;b&gt;ComplianceReport&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#222222;" vertex="1" parent="pkg_3">
          <mxGeometry x="340" y="375" width="290" height="156" as="geometry" />
        </mxCell>
        <mxCell id="attr_85" value="+ total_fields_scanned: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_84">
          <mxGeometry y="40" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_86" value="+ anonymized_fields_count: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_84">
          <mxGeometry y="60" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_87" value="+ detected_categories: dict[str, int]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_84">
          <mxGeometry y="80" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_88" value="+ applied_rule_ids: tuple[str, ...]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_84">
          <mxGeometry y="100" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_89" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_84">
          <mxGeometry y="120" width="290" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_90" value="+ __post_init__() None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_84">
          <mxGeometry y="128" width="290" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_91" value="«interface»&lt;br&gt;&lt;b&gt;SensitivePatternDetector&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#222222;" vertex="1" parent="pkg_3">
          <mxGeometry x="30" y="45" width="300" height="96" as="geometry" />
        </mxCell>
        <mxCell id="attr_92" value="+ category: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_91">
          <mxGeometry y="40" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_93" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_91">
          <mxGeometry y="60" width="300" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_94" value="+ detect(text: str) list[TextMatch]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_91">
          <mxGeometry y="68" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_95" value="«interface»&lt;br&gt;&lt;b&gt;MaskingStrategy&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#222222;" vertex="1" parent="pkg_3">
          <mxGeometry x="30" y="175" width="300" height="68" as="geometry" />
        </mxCell>
        <mxCell id="mth_96" value="+ mask(raw_value: str) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_95">
          <mxGeometry y="40" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_97" value="«interface»&lt;br&gt;&lt;b&gt;SaltProvider&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#222222;" vertex="1" parent="pkg_3">
          <mxGeometry x="30" y="285" width="300" height="68" as="geometry" />
        </mxCell>
        <mxCell id="mth_98" value="+ get_salt() str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_97">
          <mxGeometry y="40" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_99" value="«exception»&lt;br&gt;&lt;b&gt;AnonymizerError&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#f8cecc;strokeColor=#b85450;fontColor=#222222;" vertex="1" parent="pkg_3">
          <mxGeometry x="30" y="415" width="300" height="48" as="geometry" />
        </mxCell>
        <mxCell id="cls_100" value="«exception»&lt;br&gt;&lt;b&gt;InvalidRuleError&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#f8cecc;strokeColor=#b85450;fontColor=#222222;" vertex="1" parent="pkg_3">
          <mxGeometry x="30" y="495" width="300" height="48" as="geometry" />
        </mxCell>
        <mxCell id="cls_101" value="«adapter»&lt;br&gt;&lt;b&gt;InMemoryRuleRepository&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="90" y="90" width="360" height="156" as="geometry" />
        </mxCell>
        <mxCell id="attr_102" value="- _rules: dict[str, AnonymizationRule]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_101">
          <mxGeometry y="40" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_103" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_101">
          <mxGeometry y="60" width="360" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_104" value="+ save(rule) None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_101">
          <mxGeometry y="68" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_105" value="+ get_all() list" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_101">
          <mxGeometry y="88" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_106" value="+ find_by_field(name) AnonymizationRule?" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_101">
          <mxGeometry y="108" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_107" value="+ get_detector_rules() list" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_101">
          <mxGeometry y="128" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_108" value="«adapter»&lt;br&gt;&lt;b&gt;CompositeStructureTraverser&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="530" y="90" width="400" height="68" as="geometry" />
        </mxCell>
        <mxCell id="mth_109" value="+ traverse(data, rules) tuple[dict, ComplianceReport]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_108">
          <mxGeometry y="40" width="400" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_110" value="«dataclass»&lt;br&gt;&lt;b&gt;TraversalContext&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="970" y="90" width="560" height="256" as="geometry" />
        </mxCell>
        <mxCell id="attr_111" value="+ field_rules: dict[str, AnonymizationRule]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="40" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_112" value="+ detector_rules: tuple[AnonymizationRule, ...]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="60" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_113" value="+ total_fields_scanned: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="80" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_114" value="+ anonymized_fields_count: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="100" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_115" value="+ detected_categories: dict[str, int]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="120" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_116" value="+ applied_rule_ids: dict[str, None]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="140" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_117" value="- _detector_chain: DetectorChain" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="160" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_118" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_110">
          <mxGeometry y="180" width="560" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_119" value="+ find_field_rule(name) AnonymizationRule | None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="188" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_120" value="+ record_field_mask(rule) None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="208" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_121" value="+ apply_detectors(text) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_110">
          <mxGeometry y="228" width="560" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_122" value="«abstract component»&lt;br&gt;&lt;b&gt;DataNode&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="530" y="235" width="300" height="68" as="geometry" />
        </mxCell>
        <mxCell id="mth_123" value="+ process(context) Any" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_122">
          <mxGeometry y="40" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_124" value="«composite»&lt;br&gt;&lt;b&gt;DictNode&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4" startSize="40">
          <mxGeometry x="530" y="355" width="300" height="96" as="geometry" />
        </mxCell>
        <mxCell id="attr_125" value="- _data: dict[Any, Any]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_124">
          <mxGeometry y="40" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_126" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_124">
          <mxGeometry y="60" width="300" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_127" value="+ process(context) dict" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_124">
          <mxGeometry y="68" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_128" value="«composite»&lt;br&gt;&lt;b&gt;ListNode&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4" startSize="40">
          <mxGeometry x="860" y="355" width="300" height="96" as="geometry" />
        </mxCell>
        <mxCell id="attr_129" value="- _data: list[Any]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_128">
          <mxGeometry y="40" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_130" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_128">
          <mxGeometry y="60" width="300" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_131" value="+ process(context) list" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_128">
          <mxGeometry y="68" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_132" value="«leaf»&lt;br&gt;&lt;b&gt;ScalarNode&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4" startSize="40">
          <mxGeometry x="1190" y="355" width="300" height="116" as="geometry" />
        </mxCell>
        <mxCell id="attr_133" value="- _value: Any" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_132">
          <mxGeometry y="40" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_134" value="- _field_rule: AnonymizationRule | None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_132">
          <mxGeometry y="60" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_135" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_132">
          <mxGeometry y="80" width="300" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_136" value="+ process(context) Any" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_132">
          <mxGeometry y="88" width="300" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_137" value="«strategy»&lt;br&gt;&lt;b&gt;PartialMaskStrategy&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="1620" y="90" width="360" height="156" as="geometry" />
        </mxCell>
        <mxCell id="attr_138" value="- _visible_prefix: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_137">
          <mxGeometry y="40" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_139" value="- _visible_suffix: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_137">
          <mxGeometry y="60" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_140" value="- _mask_char: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_137">
          <mxGeometry y="80" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_141" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_137">
          <mxGeometry y="100" width="360" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_142" value="+ mask(raw_value: str) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_137">
          <mxGeometry y="108" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_143" value="- _mask_core(value: str) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_137">
          <mxGeometry y="128" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_144" value="«strategy»&lt;br&gt;&lt;b&gt;HashMaskStrategy&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="1620" y="260" width="360" height="116" as="geometry" />
        </mxCell>
        <mxCell id="attr_145" value="- _salt_provider: SaltProvider" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_144">
          <mxGeometry y="40" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="attr_146" value="- _prefix_length: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_144">
          <mxGeometry y="60" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_147" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_144">
          <mxGeometry y="80" width="360" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_148" value="+ mask(raw_value: str) str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_144">
          <mxGeometry y="88" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_149" value="«adapter»&lt;br&gt;&lt;b&gt;RandomSaltProvider&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="1620" y="410" width="360" height="68" as="geometry" />
        </mxCell>
        <mxCell id="mth_150" value="+ get_salt() str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_149">
          <mxGeometry y="40" width="360" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_151" value="«detector»&lt;br&gt;&lt;b&gt;EmailDetector&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="2065" y="90" width="440" height="116" as="geometry" />
        </mxCell>
        <mxCell id="attr_152" value="- _PATTERN: re.Pattern$" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_151">
          <mxGeometry y="40" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_153" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_151">
          <mxGeometry y="60" width="440" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_154" value="+ category: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_151">
          <mxGeometry y="68" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_155" value="+ detect(text) list[TextMatch]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_151">
          <mxGeometry y="88" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_156" value="«detector»&lt;br&gt;&lt;b&gt;CreditCardDetector&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#222222;" vertex="1" parent="pkg_4">
          <mxGeometry x="2065" y="230" width="440" height="116" as="geometry" />
        </mxCell>
        <mxCell id="attr_157" value="- _PATTERN: re.Pattern$" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_156">
          <mxGeometry y="40" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="sep_158" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_156">
          <mxGeometry y="60" width="440" height="8" as="geometry" />
        </mxCell>
        <mxCell id="mth_159" value="+ category: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_156">
          <mxGeometry y="68" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="mth_160" value="+ detect(text) list[TextMatch]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_156">
          <mxGeometry y="88" width="440" height="20" as="geometry" />
        </mxCell>
        <mxCell id="edge_161" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_5" target="cls_25">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_163" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_25" target="cls_20">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_164" value="delega" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_25" target="cls_35">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_165" value="delega" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_25" target="cls_40">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_166" value="delega" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_25" target="cls_44">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_167" value="delega" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_25" target="cls_48">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_168" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_35" target="cls_53">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_169" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_35" target="cls_58">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_170" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_40" target="cls_53">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_171" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_40" target="cls_60">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_172" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_44" target="cls_53">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_173" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_48" target="cls_53">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_174" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_48" target="cls_58">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_175" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_60" target="cls_66">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1342" y="463" />
              <mxPoint x="1342" y="984" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_176" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_60" target="cls_91">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1815" y="456" />
              <mxPoint x="1815" y="133" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_177" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_60" target="cls_95">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1825" y="456" />
              <mxPoint x="1825" y="253" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_178" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_53" target="cls_72">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1820" y="153" />
              <mxPoint x="1820" y="30" />
              <mxPoint x="2325" y="30" />
              <mxPoint x="2325" y="85" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_179" value="retorna" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_58" target="cls_84">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1830" y="303" />
              <mxPoint x="1830" y="600" />
              <mxPoint x="2325" y="600" />
              <mxPoint x="2325" y="557" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_180" value="tiene" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_72" target="cls_95">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_181" value="tiene" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_72" target="cls_91">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_182" value="retorna" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_91" target="cls_79">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="2020" y="200" />
              <mxPoint x="2175" y="200" />
              <mxPoint x="2175" y="322" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_183" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_100" target="cls_99">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_184" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_101" target="cls_53">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="310" y="850" />
              <mxPoint x="1810" y="850" />
              <mxPoint x="1810" y="221" />
              <mxPoint x="1565" y="221" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_185" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_108" target="cls_58">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="770" y="870" />
              <mxPoint x="1830" y="870" />
              <mxPoint x="1830" y="341" />
              <mxPoint x="1565" y="341" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_186" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_108" target="cls_124">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="570" y="997" />
              <mxPoint x="550" y="997" />
              <mxPoint x="550" y="1276" />
              <mxPoint x="570" y="1276" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_187" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_108" target="cls_110">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_188" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_108" target="cls_84">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="770" y="900" />
              <mxPoint x="2580" y="900" />
              <mxPoint x="2580" y="557" />
              <mxPoint x="2325" y="557" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_189" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_124" target="cls_122">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_190" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_128" target="cls_122">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_191" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_132" target="cls_122">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_192" value="«create» si hay regla" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_124" target="cls_132">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="720" y="1345" />
              <mxPoint x="1380" y="1345" />
              <mxPoint x="1380" y="1337" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_193" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_110" target="cls_60">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1290" y="1260" />
              <mxPoint x="1830" y="1260" />
              <mxPoint x="1830" y="550" />
              <mxPoint x="1565" y="550" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_194" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_137" target="cls_95">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1840" y="900" />
              <mxPoint x="1850" y="900" />
              <mxPoint x="1850" y="253" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_195" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_144" target="cls_95">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1840" y="920" />
              <mxPoint x="1860" y="920" />
              <mxPoint x="1860" y="275" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_196" value="usa" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_144" target="cls_97">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_197" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_149" target="cls_97">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1840" y="940" />
              <mxPoint x="1865" y="940" />
              <mxPoint x="1865" y="363" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_198" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_151" target="cls_91">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="2325" y="900" />
              <mxPoint x="2600" y="900" />
              <mxPoint x="2600" y="30" />
              <mxPoint x="2180" y="30" />
              <mxPoint x="2180" y="133" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_199" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=block;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_156" target="cls_91">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="2325" y="920" />
              <mxPoint x="2620" y="920" />
              <mxPoint x="2620" y="20" />
              <mxPoint x="2200" y="20" />
              <mxPoint x="2200" y="150" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_200" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_151" target="cls_79">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_201" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;" edge="1" parent="1" source="cls_156" target="cls_79">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="note_202" value="&lt;b&gt;Notación UML&lt;/b&gt; · realización = línea discontinua + triángulo hueco · herencia = línea continua + triángulo hueco · dependencia = línea discontinua + flecha abierta · asociación = línea continua · agregación = rombo hueco · composición = rombo relleno · «create» = dependencia de creación." style="shape=note;whiteSpace=wrap;html=1;size=14;align=left;verticalAlign=top;spacingLeft=6;spacingRight=6;spacingTop=4;fillColor=#fffbe6;strokeColor=#d6b656;fontSize=10;" vertex="1" parent="1">
          <mxGeometry x="40" y="1840" width="2320" height="52" as="geometry" />
        </mxCell>
        <mxCell id="cls_210" value="«handler»&lt;br&gt;&lt;b&gt;_DetectorHandler&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="760" y="535" width="410" height="156" as="geometry" />
        </mxCell>
        <mxCell id="cls_210_a40" value="- _rule: AnonymizationRule" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_210">
          <mxGeometry y="40" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_210_a60" value="- _detector: SensitivePatternDetector" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_210">
          <mxGeometry y="60" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_210_a80" value="- _next: _DetectorHandler | None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_210">
          <mxGeometry y="80" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_210_sep" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="cls_210">
          <mxGeometry y="100" width="410" height="8" as="geometry" />
        </mxCell>
        <mxCell id="cls_210_m108" value="+ set_next(next_handler: _DetectorHandler) _DetectorHandler" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_210">
          <mxGeometry y="108" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_210_m128" value="+ handle(text: str, collected: list[_Candidate]) None" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_210">
          <mxGeometry y="128" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_220" value="«dataclass»&lt;br&gt;&lt;b&gt;_Candidate&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;html=1;rounded=0;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#222222;" vertex="1" parent="pkg_2">
          <mxGeometry x="760" y="720" width="410" height="128" as="geometry" />
        </mxCell>
        <mxCell id="cls_220_a40" value="+ match: TextMatch" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_220">
          <mxGeometry y="40" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_220_a60" value="+ strategy: MaskingStrategy" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_220">
          <mxGeometry y="60" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_220_a80" value="+ rule_id: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_220">
          <mxGeometry y="80" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="cls_220_a100" value="+ category: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;html=1;fontSize=11;" vertex="1" parent="cls_220">
          <mxGeometry y="100" width="410" height="20" as="geometry" />
        </mxCell>
        <mxCell id="note_240" value="&lt;b&gt;Patrones aplicados&lt;/b&gt;&lt;br&gt;• &lt;b&gt;Builder&lt;/b&gt;: AnonymizerBuilder&lt;br&gt;• &lt;b&gt;Facade&lt;/b&gt;: DefaultPiiAnonymizer&lt;br&gt;• &lt;b&gt;Composite&lt;/b&gt;: DataNode · DictNode · ListNode · ScalarNode&lt;br&gt;• &lt;b&gt;Strategy&lt;/b&gt;: MaskingStrategy y sus implementaciones&lt;br&gt;• &lt;b&gt;Chain of Responsibility&lt;/b&gt;: DetectorChain + _DetectorHandler&lt;br&gt;• &lt;b&gt;Ports &amp;amp; Adapters&lt;/b&gt;: puertos en application/domain, adaptadores en infrastructure&lt;br&gt;• &lt;b&gt;Value Objects&lt;/b&gt;: AnonymizationRule, TextMatch, ComplianceReport, AppliedMask, _Candidate" style="shape=note;whiteSpace=wrap;html=1;size=14;align=left;verticalAlign=top;spacingLeft=6;spacingRight=6;spacingTop=4;fillColor=#fffbe6;strokeColor=#d6b656;fontSize=10;" vertex="1" parent="1">
          <mxGeometry x="80" y="500" width="410" height="230" as="geometry" />
        </mxCell>
        <mxCell id="note_241" value="&lt;b&gt;Composite&lt;/b&gt;: &lt;font face=&quot;Courier New&quot;&gt;DictNode&lt;/font&gt; y &lt;font face=&quot;Courier New&quot;&gt;ListNode&lt;/font&gt; contienen otros &lt;font face=&quot;Courier New&quot;&gt;DataNode&lt;/font&gt;; &lt;font face=&quot;Courier New&quot;&gt;ScalarNode&lt;/font&gt; es la hoja. El recorrido construye una copia y no muta la entrada." style="shape=note;whiteSpace=wrap;html=1;size=14;align=left;verticalAlign=top;spacingLeft=6;spacingRight=6;spacingTop=4;fillColor=#fffbe6;strokeColor=#d6b656;fontSize=10;" vertex="1" parent="pkg_4">
          <mxGeometry x="530" y="520" width="760" height="90" as="geometry" />
        </mxCell>
        <mxCell id="edge_230" value="head 0..1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=diamondThin;startFill=1;endArrow=none;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=0.5;exitY=1.0;exitDx=0;exitDy=0;entryX=0.5;entryY=0.0;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_60" target="cls_210">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_231" value="next 0..1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=1.0;exitY=0.05;exitDx=0;exitDy=0;entryX=1.0;entryY=0.2;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_210" target="cls_210">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1798" y="582" />
              <mxPoint x="1798" y="605" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_232" value="rule 1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=1.0;exitY=0.25;exitDx=0;exitDy=0;entryX=0.0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_210" target="cls_72">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_233" value="detector 1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=1.0;exitY=0.55;exitDx=0;exitDy=0;entryX=0.0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_210" target="cls_91">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_234" value="«create»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=0.0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_60" target="cls_220">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1350" y="463" />
              <mxPoint x="1350" y="820" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="edge_235" value="«collect»" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=0.5;exitY=1.0;exitDx=0;exitDy=0;entryX=0.5;entryY=0.0;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_210" target="cls_220">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_236" value="match 1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=1.0;exitY=0.25;exitDx=0;exitDy=0;entryX=0.0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_220" target="cls_79">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge_237" value="strategy 1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;strokeColor=#444444;fontColor=#333333;fontSize=10;exitX=1.0;exitY=0.65;exitDx=0;exitDy=0;entryX=0.0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="cls_220" target="cls_95">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>